Skip to content

Commit 4641f23

Browse files
committed
Disable upload in background
1 parent 7d6b5a7 commit 4641f23

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ build_win_task:
212212
<<: *WINDOWS_16_CPU_32G
213213
<<: *SETUP_GRADLE_CACHE
214214
build_script:
215-
- ./gradlew build --info --console plain --no-daemon --build-cache
215+
- ./gradlew build --info --console plain --no-daemon --build-cache -Dscan.tag.CI -Dscan.tag.build-win
216216
on_failure:
217217
error_log_artifacts:
218218
path: "hs_err_pid*.log"

settings.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,16 @@ plugins {
9898
id("com.gradle.develocity") version("3.18.2")
9999
}
100100

101+
val isCI: Boolean = System.getenv("CI") != null
102+
101103
develocity {
102104
server = "https://develocity.sonar.build"
105+
buildScan {
106+
uploadInBackground.set(isCI)
107+
}
103108

104109
}
105110

106-
val isCI: Boolean = System.getenv("CI") != null
107-
108111
buildCache {
109112
local {
110113
isEnabled = !isCI

0 commit comments

Comments
 (0)