https://github.com/xwiki/xwiki-commons
Raw File
Tip revision: 61c53b88c2b3fbec007b847320a19b22011a60c0 authored by Simon Urli on 08 June 2022, 08:35:16 UTC
[maven-release-plugin] prepare release xwiki-commons-14.4.1
Tip revision: 61c53b8
gradle-enterprise.xml
<?xml version="1.0" encoding="UTF-8"?>

<!--
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->

<gradleEnterprise
    xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd">
  <server>
    <url>https://ge.xwiki.org</url>
  </server>
  <buildScan>
    <publishIfAuthenticated>true</publishIfAuthenticated>
    <!-- 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) -->
    <backgroundBuildScanUpload>#{env['CI'] == null}</backgroundBuildScanUpload>
  </buildScan>
  <buildCache>
    <!-- Notes:
         * To disable the local build cache on the command line, pass: -Dgradle.cache.local.enabled=false
         * We disable the local build cache on CI since our agents are transients and isolated, and thus it would cost
           more to save the goal outputs since they're not going to be re-used.
    -->
    <local>
      <enabled>#{env['CI'] == null}</enabled>
    </local>
    <remote>
      <!-- Notes:
       * To disable the remote build cache on the command line, pass: -Dgradle.cache.remote.enabled=false
      -->
      <enabled>true</enabled>
      <!-- Only CI jobs are allowed to store build outputs in the remote cache -->
      <storeEnabled>#{env['CI'] != null}</storeEnabled>
      <server>
        <!-- Note: Remote cache authentication is handled in the Maven settings.xml file. The id below is the one
       found in settings.xml -->
        <id>gradleEnterpriseCache</id>
      </server>
    </remote>
  </buildCache>
</gradleEnterprise>
back to top