installation - TeamCity - multiple agents on ONE MACHINE? Possible? -


coming "from" tfs , using teamcity in customer project....

...is there way install multiple agent instances on 1 computer? tfs.

the reason have build scripts linear in execution (large) part , take significant amount of time. a modern server (4, 6, 8, 12 cores) there nothing stopping server efficiently running multiple builds @ same time - except there seems no way install multiple agent instances on 1 machine.

yes possible (i have 2 agents installed on 1 machine) see teamcity docs:

several agents can installed on single machine. function separate agents , teamcity works them different agents, not utilizing fact share same machine.

after installing 1 agent can install additional one, providing following conditions met:

  • the agents installed in separate directories
  • they have distinctive work , temp directories
  • buildagent.properties configured have different values name , ownport properties

make sure, there no build configurations have absolute checkout directory specified (alternatively, make sure such build configurations have "clean checkout" option enabled , cannot run in parallel).

under windows, install additional agents services, modify \launcher\conf\wrapper.conf change:

  • wrapper.console.title,
  • wrapper.ntservice.name
  • wrapper.ntservice.displayname
  • wrapper.ntservice.description

properties have distinct name within computer.

more resources:

another question

excellent post


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -