Build flow uses Result.isBetterOrEqualTo, so it should suffice to ignore(ABORTED) to effectively ignore everything.
On 31.01.2014, at 03:12, Irfan Sayed <[email protected]> wrote: > nope. getting following error. please suggest > > ERROR: Failed to run DSL Script > > groovy.lang.MissingMethodException > : No signature of method: com.cloudbees.plugins.flow.FlowDelegate.ignore() is > applicable for argument types: (hudson.model.Result, hudson.model.Result, > hudson.model.Result, hudson.model.Result, Script1$_run_closure1) values: > [FAILURE, SUCCESS, ABORTED, UNSTABLE, Script1$_run_closure1@21718acf] > Possible solutions: ignore(hudson.model.Result, java.lang.Object), grep() > > > > On Fri, Jan 31, 2014 at 3:14 AM, silver <[email protected]> wrote: > ignore(FAILURE,SUCCESS,SKIPPED,ABORTED,UNSTABLE) { > build("abc") > } > ignore(FAILURE,SUCCESS,SKIPPED,ABORTED,UNSTABLE) { > build("xyz") > } > > On Jan 30, 2014, at 2:54 PM, Irfan Sayed <[email protected]> wrote: > >> hi, >> >> i would like to build the set of jobs sequentially irrespective of their >> build result >> >> using build flow plugin , can i do like this >> >> ignore(FAILURE,SUCCESS,SKIPPED,ABORTED,UNSTABLE) { >> build( >> "abc" ) >> build( xyz" ) >> } >> >> idea is , whatever is the build result of "abc" job, xyz job should get >> fired >> >> please suggest >> regards >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. > > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
