Run second job after the first job fails (DSL flow)

11 views
Skip to first unread message

Hemanth Reddy

unread,
Apr 3, 2017, 10:49:06 AM4/3/17
to job-dsl-plugin
Hi,

The next jobs are not executing when my first job is failed.
Define build flow using flow DSL is as follows

guard {

     build("Job 1")
     build("Job 2")
     build("Job 3")
}
rescue
{
}

When Job 1 is executed and Failed, my other two jobs, job2,job3 are not executed.

Any solution to resolve this ?

Victor Martinez

unread,
Apr 3, 2017, 3:39:38 PM4/3/17
to job-dsl-plugin
Hi Hemanth,

Flow DSL (https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin) is about another plugin while this mailing list is purely about JobDSL (https://jenkinsci.github.io/job-dsl-plugin/)

Cheers
Reply all
Reply to author
Forward
0 new messages