Say I have Jenkins Job "abc_job" which calls another jenkins job "xyz_job" depending on certain conditions.
Now for some reasons, both of the jobs are suppose to run on the same jenkins slave which results in a deadlock condition as job "abc_job" has triggered "xyz_job" and "xyz_job" is waiting for "abc_job" to release jenkins slave for it to start working.
How do you overcome such a scenario?