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
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
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