Explorar o código

Force snapshot repo in snapshot stage build

Vedran Pavic %!s(int64=7) %!d(string=hai) anos
pai
achega
362c2ef1f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -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