Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can we execute jobs simultaneously in Bamboo without waiting for the first one to complete?

roshni sherkar July 15, 2020

Hi all, I am trying to execute 3 jobs linked in one plan in parallel but fail to do so as bamboo runs jobs in a sequential manner. 

Is there any solution to get it implemented?

Any lead will be highly appreciated. Many thanks in advance.

 

 

Roshni.

4 answers

0 votes
roshni sherkar July 20, 2020

Hi,

I tried both the solution but the plans and jobs are getting executed in a sequential manner as I am having a single Agent.

Can we implement a parallel run with a single Agent? 

BRAJESH KUMAR SHARMA July 20, 2020

Roshni,

A single agent can run only one job at a time. So your other job will be in queue until the one job get completed. You'll have to increase number of agents to run your jobs in parallel.

Other option you have, you can dockerize your single agent and create multiple nodes on an agent. So it can run multiple jobs in parallel on a single agent.

0 votes
roshni sherkar July 19, 2020

Hi Brajesh and Choon,

 

Thanks for getting back. I will try out both the solutions.

0 votes
Choon Keat Seet
Contributor
July 15, 2020

Alternative is to create the jobs in 3 different plans and have the same trigger.

0 votes
BRAJESH KUMAR SHARMA July 15, 2020

Roshni,

You can run the multiple jobs in parallel from the same stage only. If you have created the jobs in different stages then it will trigger one by one only.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events