8 changed files with 4 additions and 62 deletions
@ -1,13 +1,8 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
||||||
<extensions> |
<extensions> |
||||||
<extension> |
<extension> |
||||||
<groupId>com.gradle</groupId> |
<groupId>io.spring.develocity.conventions</groupId> |
||||||
<artifactId>gradle-enterprise-maven-extension</artifactId> |
<artifactId>develocity-conventions-maven-extension</artifactId> |
||||||
<version>1.19.2</version> |
<version>0.0.19</version> |
||||||
</extension> |
|
||||||
<extension> |
|
||||||
<groupId>com.gradle</groupId> |
|
||||||
<artifactId>common-custom-user-data-maven-extension</artifactId> |
|
||||||
<version>1.12.4</version> |
|
||||||
</extension> |
</extension> |
||||||
</extensions> |
</extensions> |
||||||
|
|||||||
@ -1,31 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> |
|
||||||
<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.spring.io</url> |
|
||||||
</server> |
|
||||||
<buildScan> |
|
||||||
<backgroundBuildScanUpload>false</backgroundBuildScanUpload> |
|
||||||
<captureGoalInputFiles>true</captureGoalInputFiles> |
|
||||||
<publishIfAuthenticated>true</publishIfAuthenticated> |
|
||||||
<obfuscation> |
|
||||||
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses> |
|
||||||
</obfuscation> |
|
||||||
</buildScan> |
|
||||||
<buildCache> |
|
||||||
<local> |
|
||||||
<enabled>true</enabled> |
|
||||||
</local> |
|
||||||
<remote> |
|
||||||
<server> |
|
||||||
<credentials> |
|
||||||
<username>${env.DEVELOCITY_CACHE_USERNAME}</username> |
|
||||||
<password>${env.DEVELOCITY_CACHE_PASSWORD}</password> |
|
||||||
</credentials> |
|
||||||
</server> |
|
||||||
<enabled>true</enabled> |
|
||||||
<storeEnabled>#{env['DEVELOCITY_CACHE_USERNAME'] != null and env['DEVELOCITY_CACHE_PASSWORD'] != null}</storeEnabled> |
|
||||||
</remote> |
|
||||||
</buildCache> |
|
||||||
</gradleEnterprise> |
|
||||||
@ -1,11 +1,6 @@ |
|||||||
#!/bin/sh |
#!/bin/sh |
||||||
|
|
||||||
export DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} |
|
||||||
export DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} |
|
||||||
export JENKINS_USER=${JENKINS_USER_NAME} |
export JENKINS_USER=${JENKINS_USER_NAME} |
||||||
|
|
||||||
# The environment variable to configure access key is still GRADLE_ENTERPRISE_ACCESS_KEY |
|
||||||
export GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} |
|
||||||
|
|
||||||
MAVEN_OPTS="-Duser.name=${JENKINS_USER} -Duser.home=/tmp/jenkins-home" \ |
MAVEN_OPTS="-Duser.name=${JENKINS_USER} -Duser.home=/tmp/jenkins-home" \ |
||||||
./mvnw -s settings.xml clean install -Pall-dbs |
./mvnw -s settings.xml clean install -Pall-dbs |
||||||
|
|||||||
Loading…
Reference in new issue