Skip to content

Commit

Permalink
Disable upload in background
Browse files Browse the repository at this point in the history
  • Loading branch information
leveretka committed Dec 9, 2024
1 parent 7d6b5a7 commit 4641f23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ build_win_task:
<<: *WINDOWS_16_CPU_32G
<<: *SETUP_GRADLE_CACHE
build_script:
- ./gradlew build --info --console plain --no-daemon --build-cache
- ./gradlew build --info --console plain --no-daemon --build-cache -Dscan.tag.CI -Dscan.tag.build-win
on_failure:
error_log_artifacts:
path: "hs_err_pid*.log"
Expand Down
7 changes: 5 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,16 @@ plugins {
id("com.gradle.develocity") version("3.18.2")
}

val isCI: Boolean = System.getenv("CI") != null

develocity {
server = "https://develocity.sonar.build"
buildScan {
uploadInBackground.set(isCI)
}

}

val isCI: Boolean = System.getenv("CI") != null

buildCache {
local {
isEnabled = !isCI
Expand Down

0 comments on commit 4641f23

Please sign in to comment.