Show TeamCity user for agent builds
This commit is contained in:
+3
-2
@@ -49,10 +49,11 @@ gradleEnterprise {
|
|||||||
setTermsOfServiceUrl("https://gradle.com/terms-of-service")
|
setTermsOfServiceUrl("https://gradle.com/terms-of-service")
|
||||||
setTermsOfServiceAgree("yes")
|
setTermsOfServiceAgree("yes")
|
||||||
}
|
}
|
||||||
|
|
||||||
obfuscation {
|
obfuscation {
|
||||||
ipAddresses { addresses -> ["0.0.0.0"] }
|
ipAddresses { addresses -> ["0.0.0.0"] }
|
||||||
hostname { host -> "<unknown>" }
|
hostname { host -> "concealed" }
|
||||||
username { name -> "<unknown>" }
|
username { name -> buildProperties.isTeamcityBuild ? "TeamCity" : "concealed" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user