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

How to prevent a plan to start when it is already running on another agent?

kiarashz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 14, 2019

Hi all,

I know how to lock a plan to run on only one agent so it will never run in parallel.

However, I prefer to let my plan run on multiple agents but not in parallel. Wondering if there is a way to do this?

 

Thanks

1 answer

1 accepted

0 votes
Answer accepted
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 15, 2019

Hi @kiarashz


I suppose the configuration Admin >> Overview >> Concurrent builds is set to a value bigger than 1 in your Bamboo instance, therefore, allowing the same plan to start in multiple agents.

If you don't want this setting in your instance you can disable it.

If you want this for some of your plans and not for others you will need to override this option in those plans that you don't want to run in multiple agents at same time.

This configuration is in the miscellaneous tab of your plan configuration. You need to check the option Override default number of concurrent builds and set it to 1 in your plan. 

Let me know if this really what you were looking for.

kiarashz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2019

Thanks @Daniel Santos , this solved my problem.

Like Daniel Santos likes this
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 18, 2019

I'm glad we could help =]
Have a good one!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events