mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-03 20:09:18 +00:00
Force snapshot repo in snapshot stage build
This commit is contained in:
parent
229b69dd35
commit
362c2ef1f2
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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…
x
Reference in New Issue
Block a user