Build configuration with multiple agents

Is it possible to have a build configuration that will run on multiple agents? The 'run custom build' feature allows us to run on all compatible agents, but I don't see an option to do this as part of the configuration, and the build always seems to just run on a single machine. Will we have to create a separate configuration for every machine we want to run on, and target the individual machines with an environment variable?

6 comments
Comment actions Permalink

Ah, apologies, this looks like a duplicate of http://www.jetbrains.net/devnet/message/5232893, and it doesn't look like it's possible.

0
Comment actions Permalink

Usually build is started on an idle agent. There can be several builds of the same build configuration running simultaneously on different agents. Not sure what you want to achieve. Do you want to run several builds of the same build configuration on a single change?

0
Comment actions Permalink

Yes, that's what we're after. We want to run several builds for each change, each build on a different machine. Basically, we need to test on multiple hardware configurations, so we have a set of test machines with the agent installed on each of them. At the moment, I've got a build configuration for each machine, using environment variables to match configurations to machines, but it seems like it should be easier than that - right now, if we had to change the configuration, we'd have to do it in five places.

0
Comment actions Permalink

Well, each way has its drawbacks
For example if you have single build configuration which is triggered to several agents, then you will spent more time trying to figure out which change broke build on this particular agent. If you have several build configurations targeted to different platforms then you will have separate history for each configuration and it will be easier to find a bad change. Also it is easier to analyze which platforms are broken at the moment. But you will need to spend more time administering such build configurations.

There are feature requests you may want to vote:
http://www.jetbrains.net/tracker/issue2/TW-3350
http://www.jetbrains.net/tracker/issue2/TW-3661

Chances are we will simplify administration of build configurations with similar settings in the next major release.

0
Comment actions Permalink

I think you're absolutely right that having separate configurations makes it easier to analyse (and they were very easy to set up with the 'copy' function). So, until we actually suffer some pain, I probably shouldn't complain. It just struck me as odd that you could do it manually with a custom build, but not automatically as a build configuration - I assumed I was missing something.

Thanks for the links, I'll have a look and add some comments.

0
Comment actions Permalink

There is another feature request regarding build triggering on multiple agents: http://www.jetbrains.net/tracker/issue2/TW-4940

0

Please sign in to leave a comment.