parent
e41a53cf85
commit
60ff87155f
|
@ -8,6 +8,18 @@
|
||||||
<publishIfAuthenticated>true</publishIfAuthenticated>
|
<publishIfAuthenticated>true</publishIfAuthenticated>
|
||||||
</buildScan>
|
</buildScan>
|
||||||
<buildCache>
|
<buildCache>
|
||||||
<local><enabled>true</enabled></local>
|
<local>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</local>
|
||||||
|
<remote>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<storeEnabled><![CDATA[#{env['GRADLE_ENTERPRISE_CACHE_USERNAME'] != null && env['GRADLE_ENTERPRISE_CACHE_USERNAME'] != null}]]></storeEnabled>
|
||||||
|
<server>
|
||||||
|
<credentials>
|
||||||
|
<username>${env.GRADLE_ENTERPRISE_CACHE_USERNAME}</username>
|
||||||
|
<password>${env.GRADLE_ENTERPRISE_CACHE_PASSWORD}</password>
|
||||||
|
</credentials>
|
||||||
|
</server>
|
||||||
|
</remote>
|
||||||
</buildCache>
|
</buildCache>
|
||||||
</gradleEnterprise>
|
</gradleEnterprise>
|
|
@ -35,10 +35,10 @@ git add pom.xml > /dev/null
|
||||||
git commit -m"Release v$stageVersion" > /dev/null
|
git commit -m"Release v$stageVersion" > /dev/null
|
||||||
git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null
|
git tag -a "v$stageVersion" -m"Release v$stageVersion" > /dev/null
|
||||||
|
|
||||||
run_maven -f spring-boot-project/pom.xml clean deploy -U -Dfull -DaltDeploymentRepository=distribution::default::file://${repository}
|
run_maven -f spring-boot-project/pom.xml clean deploy -U -Dfull -DaltDeploymentRepository=distribution::default::file://${repository} -Dgradle.cache.local.enabled=false -Dgradle.cache.remote.enabled=false
|
||||||
run_maven -f spring-boot-samples/pom.xml clean install -U -Dfull -Drepository=file://${repository}
|
run_maven -f spring-boot-samples/pom.xml clean install -U -Dfull -Drepository=file://${repository} -Dgradle.cache.local.enabled=false -Dgradle.cache.remote.enabled=false
|
||||||
run_maven -f spring-boot-tests/spring-boot-integration-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository}
|
run_maven -f spring-boot-tests/spring-boot-integration-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository} -Dgradle.cache.local.enabled=false -Dgradle.cache.remote.enabled=false
|
||||||
run_maven -f spring-boot-tests/spring-boot-deployment-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository}
|
run_maven -f spring-boot-tests/spring-boot-deployment-tests/pom.xml clean install -U -Dfull -Drepository=file://${repository} -Dgradle.cache.local.enabled=false -Dgradle.cache.remote.enabled=false
|
||||||
|
|
||||||
git reset --hard HEAD^ > /dev/null
|
git reset --hard HEAD^ > /dev/null
|
||||||
if [[ $nextVersion != $snapshotVersion ]]; then
|
if [[ $nextVersion != $snapshotVersion ]]; then
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -254,7 +254,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.gradle</groupId>
|
<groupId>com.gradle</groupId>
|
||||||
<artifactId>gradle-enterprise-maven-extension</artifactId>
|
<artifactId>gradle-enterprise-maven-extension</artifactId>
|
||||||
<!-- There is a build warning because we don't specify the version here. We do this instead of specifying the verison number twice -->
|
<version>1.5.2</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<gradleEnterprise>
|
<gradleEnterprise>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|
Loading…
Reference in New Issue