Can we pause a job and run depending upon completion of another job?

Brass Contributor



I have 2 jobs in a stage each having 4 tasks. Is it possible if first 2 tasks of Job 1 executes and then this jobs shall pause. After this, Job 2 will execute and complete all of its tasks. Then other 2 tasks of Job 1 will execute.


Can we do it by any chance. Please suggest.


Kind Regards,


1 Reply


How about leveraging 'dependsOn'?


 - job: job100
    dependsOn: job99
    condition: succeeded()