Skip to content

Commit

Permalink
chore(build): only publish build scans for CI (#194)
Browse files Browse the repository at this point in the history
Update the gradleEnterprise configurations in the `settings.gradle` file by changing the `publishAlways` to `publishAlwaysIf`.
  • Loading branch information
puneetbehl committed Mar 19, 2024
1 parent 9054718 commit f19e158
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 f19e158

Please sign in to comment.