mirror of https://github.com/apache/kafka.git
MINOR add tags for Gradle build scans (#16923)
This adds three tags for the Gradle build scans: jenkins, github, and local. Adding these tags will allow us to more easily differentiate build scan statistics based on the origin of the build. Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
3db6e68c4c
commit
fd60d2d980
|
@ -33,6 +33,13 @@ develocity {
|
|||
// Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
|
||||
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
|
||||
}
|
||||
if (isJenkins) {
|
||||
tag "jenkins"
|
||||
} else if (isGithubActions) {
|
||||
tag "github"
|
||||
} else {
|
||||
tag "local"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue