We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c79148 + 51207b8 commit 17ba653Copy full SHA for 17ba653
project/Build.scala
@@ -293,12 +293,13 @@ object Build {
293
config
294
.withProjectId(ProjectId("scala3"))
295
.withServer(config.server.withUrl(Some(url("https://develocity.scala-lang.org"))))
296
- .withBuildScan(
297
- buildScan
+ .withBuildScan({
+ val scan = buildScan
298
.withPublishing(Publishing.onlyIf(_.authenticated))
299
.withBackgroundUpload(!isInsideCI)
300
.withObfuscation(buildScan.obfuscation.withIpAddresses(_.map(_ => "0.0.0.0")))
301
- )
+ if (isNightly) scan.withTag("NIGHTLY") else scan
302
+ })
303
.withBuildCache(
304
buildCache
305
.withLocal(buildCache.local.withEnabled(true).withStoreEnabled(true))
0 commit comments