TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

Gradle

Last modified: 20 April 2023

The Gradle Build Runner runs Gradle projects.

Gradle Parameters



Run Parameters



Java Parameters



Build properties



TeamCity build properties are available in the build script via the teamcity property of the project. This property contains the map with all defined system properties (see Defining and Using Build Parameters in Build Configuration for details). The example below contains a task that will print all available build properties to the build log (it must be executed by the buildserver):

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

Code Coverage



Code coverage with IntelliJ IDEA and JaCoCo is supported.