How can I disable a bamboo build agent dynamically?

I have a build agent that must be shared between humans and the build system because it has bespoke hardware attached. In the cases where people want to run interactively on the agent (for debugging mostly) I need the ability to tell bamboo that it cannot run jobs. It seems like the way to do this would be to disable the agent.

Is there a way to disable the agent either via REST or command line on the build server? I could also stop the build agent process; but that seems less desirable.

1 answer

This widget could not be displayed.

I also would be interested in a definitive answer to this question, but one of the answers to a different Bamboo question I asked recently suggested (but didn't explicitly state) that you can't do this. See

Your comment about stopping the agent process, which could be done programmatically I'm sure, might not be too bad an idea (and might help in my situation - thanks) but it's a bit messy and I don't know what would happen if the agent was running a plan at the time. Easy to test I guess.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

143 views 1 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you