• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How does TeamCity decide a compatible environment?

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the TeamCity information page

http://www.jetbrains.com/teamcity/

it says

When a build is triggered (either automatically or manually) TeamCity processes it on any available agent whose environment is compatible with the build configuration.



How does it tell a compatible environment?
 
author
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Chris,

On each build agent you can setup a number of custom properties, like
"use.mysql.db" on agents with installed MysqlDB, or "hasDotNet1.1". Moreover, there are predefined properties like os.name .

For each build configuration you can specify build agent requirements of different type. For instance, you can specify requirement
"os.name startsWith 'W'" and this build configuration will run only on Windows-based build agents. If you specify requirement "exists hasDotNet1.1", this build configuration will run only on build agents where property "hasDotNet1.1" is specified in build agent properties.

Build configuraion requirements for build agents are specified in Web-based administration interface. Build agent properties are edited manually in buildAgent.properties file, but we plan to allow edit them on the Web as well.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic