summaryrefslogtreecommitdiff
path: root/gradle/teamcity.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'gradle/teamcity.gradle')
-rw-r--r--gradle/teamcity.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/gradle/teamcity.gradle b/gradle/teamcity.gradle
index bb4cb575..950494d9 100644
--- a/gradle/teamcity.gradle
+++ b/gradle/teamcity.gradle
@@ -3,7 +3,7 @@
*/
def teamcitySuffix = project.findProperty("teamcitySuffix")?.toString()
-if (project.hasProperty("teamcity") && !build_snapshot_train) {
+if (!teamcityInteractionDisabled && project.hasProperty("teamcity") && !(build_snapshot_train || rootProject.properties['build_snapshot_up'])) {
// Tell teamcity about version number
def postfix = (teamcitySuffix == null) ? "" : " ($teamcitySuffix)"
println("##teamcity[buildNumber '${project.version}${postfix}']")