Is it possible to enable/disable agents according to a schedule?

We have two dedicated bits of kit for CI testing, but they cannot complete all our tests overnight. Is it possible to set up our developer machines as agents which would only be enabled overnight?

The hardware needed for the tests is very expensive so putting the otherwise unused dev machines to work overnight is an attractive prospect.

We need to maintain the capability to manually run tests during the day on the dedicated CI machines.

1 answer

1 accepted

0 votes
Accepted answer

Sure. If you have machines with Bamboo Remote Agents installed, simply use a crontab (on linux) or task scheduler (on windows) to start the agent SH or BAT files that load the agents. Schedule the agents to load 5 or 10 minutes before the build in Bamboo is scheduled to run. Then before Developer come in during the day use the crontab or task scheduler to turn off the Bamboo remote agents.

Suggest an answer

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

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

230 views 4 1
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