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

Rob Lane March 6, 2013

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
Answer accepted
Adam Myatt
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 2013

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
TAGS
AUG Leaders

Atlassian Community Events