1
0
mirror of synced 2026-08-05 09:47:05 +00:00

Force snapshot repo in snapshot stage build

This commit is contained in:
Vedran Pavic
2018-08-27 20:17:31 +02:00
committed by Rob Winch
parent 229b69dd35
commit 362c2ef1f2
Vendored
+1 -1
View File
@@ -44,7 +44,7 @@ try {
node {
checkout scm
try {
sh "./gradlew clean test -PspringVersion='5.1.0.BUILD-SNAPSHOT' -PreactorVersion=Californium-BUILD-SNAPSHOT -PspringDataVersion=Lovelace-BUILD-SNAPSHOT --refresh-dependencies --no-daemon --stacktrace"
sh "./gradlew clean test -PforceMavenRepositories=snapshot -PspringVersion='5.1.0.BUILD-SNAPSHOT' -PreactorVersion=Californium-BUILD-SNAPSHOT -PspringDataVersion=Lovelace-BUILD-SNAPSHOT --refresh-dependencies --no-daemon --stacktrace"
} catch(Exception e) {
currentBuild.result = 'FAILED: snapshots'
throw e