Skip to content

Commit

Permalink
Only publish build scan for CI (#1781)
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl authored Jan 10, 2024
1 parent d7808d9 commit 58b2626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
gradleEnterprise {
server = 'https://ge.grails.org'
buildScan {
publishAlways()
publishAlwaysIf(System.getenv('CI') == 'true')
publishIfAuthenticated()
uploadInBackground = System.getenv("CI") == null
capture {
Expand Down

0 comments on commit 58b2626

Please sign in to comment.