Force snapshot repo in snapshot stage build
This commit is contained in:
parent
229b69dd35
commit
362c2ef1f2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue