Jay
Jay

Reputation: 299

Bamboo build with local and remote agents

I have a .Net WebApi project and continuous integration is setup using Bamboo. I am using spec flow tests and some of the tests are tagged to run on bamboo remote agent as they are slow in nature. Other tests supposed to be run on multiple local agents. I have setup multiple stages in Bamboo build plan as stages get run in parallel with each stage is set to run specifically tagged tests suits.

My question is what is the general practice to setup a Bamboo plan to run on multiple agents (local and remote) and how can I share one MS Build output (dlls and config) across multiple agents.

Upvotes: 0

Views: 951

Answers (1)

Oleksiy Chystoprudov
Oleksiy Chystoprudov

Reputation: 1145

If you need to split build and test phase then usually you have Build stage with one job which produces artifact with build output.

Then you create another stage and put several jobs there. Jobs may be configured to download produced artifact from Build stage and execute tests against your build.

If you want to run some of your jobs at remote agent, you can add some Job requirement which only remote agent can satisfy.

Upvotes: 1

Related Questions