2
votes

I want to build multiple jobs in jenkins:

enter image description here

I install multi job plugin on jenkins. When I build test_all_jobs, it run job1 and freeze on it and doesn't start job1-1 until I close job1 test!

Actually I want to start job1-1 then job 1-2 and after they finished job 2-1 then job2-2 should start.

I should say I can not use Build Flow Plugin.

Thanks.

2

2 Answers

1
votes

I don't use the multi job plugin. Instead, I use the combination of the Conditional BuildStep Plugin and the Parameterized Trigger Plugin.
I think together, you get much more flexibility and ease of configuring your desired flow.

Look into these and see if you can get the answer you want from joining them.

I hope this helps.

0
votes

I guess this issue is because of the number of executors assigned to the slave node on which you are running the job is assigned with 1. Under nodes---->select your node ----> Configure ---> Increase the no of executors Under nodes---->select your node ----> Configure ---> Increase the no of executors

Hopefully this helps you.