Skip to content
Snippets Groups Projects
Commit bd42b7f9 authored by Vincent Massol's avatar Vincent Massol
Browse files

XINFRA-338: Add a Gradle Enterprise cache for faster builds

* Only push on demand locally (and always on CI)
parent 517a8479
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,10 @@
</server>
<buildScan>
<publishIfAuthenticated>true</publishIfAuthenticated>
<publish>ALWAYS</publish>
<!-- Always publish build scans on CI but on demand for devs so that we don't get false positives on ge.xwiki.org
due to local changes from users and so that it doesn't pollute the ge.xwiki.org data.
To force publishing a build scan: -Dscan -->
<publish>#{env['CI'] == null ? 'ON_DEMAND' : 'ALWAYS'}</publish>
<captureGoalInputFiles>true</captureGoalInputFiles>
<!-- Use background scans only locally to avoid potential issues on CI (the ephemeral docker agent could terminate
as soon as the build is finished and thus the upload may be terminated before it completes) -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment