While in a testing phase, it is helpful to re-run only segments of a plan. In my example, the initial stages are more time consuming, but they are mature and run without problems. I disable them to speed up the testing phase, hopefully addressing only the later parts of the plan. So far so good. The problem I am encountering is using multiple agents. If my plan crashes on agent 1, I make some changes and re-run it, there is no guarantee that it will run on agent 1. If it is launched on agent 2, there is no history of the previously successfully completed stages/jobs. The physical location on disk is different:
bamboo-agent-home for agent 1
bamboo-agent-home2 for agent 2.
With only two agents, I get 50% chance of hitting the right one. I cannot imagine having more agents...
Is there a way to specify the agent I want to use? In the past I used the admin setting to disable one agent. It only worked because no-one else was using bamboo at the same time.
1. Define a custom capability on your agent - https://confluence.atlassian.com/bamboo/defining-a-new-custom-capability-289277149.html#Defininganewcustomcapability-Defininganagent-specificcustomcapability
2. Configure the build to have that capability as a custom requirement - https://confluence.atlassian.com/bamboo/configuring-a-job-s-requirements-289277064.html
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events