Reputation: 81
I have two jobs which are Job_A and Job_B.
I want Job_B to run based on the failure condition of Job_A.
Please suggest me how I have to set the JIL for the above condition.
Upvotes: 1
Views: 3341
Reputation: 101
you can achieve this by using the following attribute in JOb_B JIL file (job definition),
condition: f(Job_A)
Upvotes: 1
Reputation: 1272
In Job_B's definition, include the line:
condition: failure(Job_A)
Upvotes: 1