How to build a project on more than one agent simultaneously

I am sure Team City can do this but i don't know how to enable a project to be builded on several agents simultaneously.

By now I have to set up more projects with same build configuration and assgin these projects to different agent pool. I'ts not recommended.

Please let me know how to run a project simultaneously on many agents? Thanks!

6 comments
Comment actions Permalink

Schedule Trigger has such option.

What kind of task do you need to perform?

0
Comment actions Permalink

I've also been after this functionality but for a vcs trigger.

Part of my reasoning for this is related to the following question:

http://devnet.jetbrains.net/thread/437297?tstart=0

I have a dependant build that is always required for all other builds.  It is used for a diff report.  We use 2 agents, they both require this base build to have been built when a change if detected. It's also not realistic to push up artifacts because the diff is against many files contained over 6 mercurial repositiories.

0
Comment actions Permalink

it still ran build on one agent even though i set this config, see the screenshot below.
simultanously.png
I am sure that the pool has two available agents.

See the snapshot of build result below.

oneAgent.png
Please correct me if i miss something.

0
Comment actions Permalink

i already set it in Schedule Trigger. Please see my screenshot above.  Don;t know why only one agent run the build even though two agents were added into build pool.

0
Comment actions Permalink

This option should trigger multiple independent builds. Please check build history for other items from the same time.
Also your second agent may miss some software, and become incompatible with this build configuration. You can check it at Agent Requirements page.

0
Comment actions Permalink

As I understand, your scenario is quite different.
Will two snapshot dependencies to the same build configuration solve your task?
Build Dependencies Setup article provides additional examples for similar scenarios.

0

Please sign in to leave a comment.