RE: [Build Flow Plugin] how to execute different rescue when job failed in guard

2014-03-13 Thread Hobby Tan
Hi James, But if I cancel the "JobA" from Jenkins, it will STILL call build("Normal_Clean"). So is there any other judgment I can use to handle the "Cancel" action from Jenkins? Thanks, Hobby -----Original Message- From: Hobby Tan Sent: Thursd

RE: [Build Flow Plugin] how to execute different rescue when job failed in guard

2014-03-12 Thread Hobby Tan
build.state.result } if (resultA == SUCCESS) { build( "normal_clean" ) } else { build( "failed_clean" ) } -- James On 12 March 2014 06:50, Hobby Tan wrote: > Anyone has idea for this ?? > > Thanks, > > > > Hobby > > > > From: jenkinsc

RE: [Build Flow Plugin] how to execute different rescue when job failed in guard

2014-03-11 Thread Hobby Tan
Anyone has idea for this ?? Thanks, Hobby From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Sent: Tuesday, March 11, 2014 12:31 AM To: jenkinsci-users@googlegroups.com Subject: [Build Flow Plugin] how to execute different rescue when job failed in gua