Show TeamCity user for agent builds

This commit is contained in:
Nikolay Krasko
2020-06-30 19:31:50 +03:00
parent 86fe10ba44
commit 3b2e1cfa39
+3 -2
View File
@@ -49,10 +49,11 @@ gradleEnterprise {
setTermsOfServiceUrl("https://gradle.com/terms-of-service")
setTermsOfServiceAgree("yes")
}
obfuscation {
ipAddresses { addresses -> ["0.0.0.0"] }
hostname { host -> "<unknown>" }
username { name -> "<unknown>" }
hostname { host -> "concealed" }
username { name -> buildProperties.isTeamcityBuild ? "TeamCity" : "concealed" }
}
}
}