Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

In order to run builds with Gradle, you need to have Gradle 0.9-rc-1 or higher installed on at least one build agentall the agent machines that you want the build be run on. Alternatively, if you use Gradle wrapper, you should have properly configured Gradle Wrapper scripts checked in to your Version Control.


Teamcity build properties are available in build script via "teamcity" property of the project. This property contains map with all teamcity-related propertiesdefined system properties (see Defining and Using Build Parameters for details). Following example contains task, that will print all available build properties to the build log (it must be executed by buildserver):

Code Block
  task printProperties << {
    teamcity.each { key, val ->
      println "##tc-property name='${key}' value='${val}'"


To learn about configuring code coverage options with IDEA code coverage engine, please refer to the corresponding page.

See also:


Administrator's Guide: IntelliJ IDEA Code Coverage