Hi, In Jenkins build flow iam trying to trigger Job-B when Job-A is expected to be failed.
In below script its entering into the if condition of Job-B and iam able to see the print message as well but Job-B is not triggering. How can i handle when Job-A is expected to fail and need to trigger the Job-B Below is my script using in buildflow: ignore(FAILURE) { build("Job-A") if (verify != success) { println "Job-B" build("Job-B") } } -- Thanks & Regards, Ravi Teja -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/92d79e07-2f54-4e42-ad25-685867a4a2bb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.