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

Accepted Answer
0 votes

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
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

369 views 0 8
Read article

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