Skip to content

Commit

Permalink
Add build scan tags
Browse files Browse the repository at this point in the history
  • Loading branch information
petertrr committed Dec 16, 2024
1 parent 9f41c29 commit 7830f70
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ plugins {

develocity {
server = "https://develocity.sonar.build"
buildScan {
tag(if (System.getenv("CI").isNullOrEmpty()) "local" else "CI")
tag(System.getProperty("os.name"))
if (System.getenv("CIRRUS_BRANCH") == "master") {
tag("master")
}
if (System.getenv("CIRRUS_PR")?.isBlank() == false) {
tag("PR")
}
}
}

val isCI = System.getenv("CI") != null
Expand Down

0 comments on commit 7830f70

Please sign in to comment.