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
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...
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!
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