Does anybody know how to force use of specific agents. In teamcity each build project was assigned to specific build agents.
How can you do that in bamboo? Thanks
Community moderators have prevented the ability to post new answers.
You can define an agent capability operating_system and then make it a requirement in your plans.
i will have to look into that however, what if my operating system is the same on all my machines. How do I distinguish just the one i want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can define a custom capability, no matter whether it's operating_system or agent_x. You can then create a requirement on the Job for agent_x, which will ensure that this Job only runs on agent_x.
You can find more information about how to get started with capabilities in our documentation under:
http://confluence.atlassian.com/display/BAMBOO/Configuring+Capabilities
Cheers,
Jens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you wanted to restrict an agent to one capability, wouldn't you then need to assign different capabilities to the other agents?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@staggerlee is correct. In other to create a true 'intersection' in Bamboo, you do have to create a set of desired and undesired capabilities and set them accordingly on all agents. If you can be more relaxed in your requirement then adding a custom capability on an agent that a plan depends on will ensure that plan always builds on that agent. However, you might have to wait behind some other plan that meets some subset of the agents requirements before the agent is free and you can build.
https://jira.atlassian.com/browse/BAM-3491
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.