How to force bamboo to execute all stages on the same agent

Ulrich Kuhnhardt
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.
January 12, 2012

in a hosted environment multiple agents are available. I need all stages of a plan to be completed by the same agent.

Reason : some artifacts the project depends on are built on the fly in several stages and mvn installed into the local repo. The last stage builds and tests the actual project.

Bamboo executes consecutive stages on different elastic agents when they are available. Therefore artefacts that are expected to be in the local repo are missing and the last stage fails.

2 answers

0 votes
Carlin Scott January 5, 2014

I haven't used elastic agents but self-managed build agents can have a custom requirement assigned to them. You can then add that custom requirement to all of the build jobs that must execute on that agent.

0 votes
Sai Kumar Yerubandi February 8, 2012

Ulrich,

Any chance you were able to solve this issue other than using Local agent

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events