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

How to terminate an agent automatically

Sivaranjani_Ganesan-ext
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!
February 6, 2023

If particular project takes all the 10 agents then some other project needs to run the bamboo job it is not picking up the agent as it will wait maximum 5 hours to complete the previous building jobs. How can we quickly terminate a running agent automatically  and give the license to some other project to run the pipeline. 

Do we need to terminated manually in Bamboo or any other solutions?

 

1 answer

1 accepted

1 vote
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 6, 2023

@Sivaranjani_Ganesan-ext

Terminating builds on Agents is up to each team to decide. Based on your BI you can develop some automation that would stop undesired builds via REST calls back to Bamboo.

It is also possible to use Agent dedication to have Agents always ready for your most important builds.

You can also consider using Elastic Agents on AWS EC2 instances and start as many Agents as you want by demand and eliminate the concurrency issues.

Thank you,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events