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:
Panel | ||||
---|---|---|---|---|
| ||||
Administrator's Guide: IntelliJ IDEA Code Coverage |