13
0
geforkt von Mirrors/Velocity

Fix Jenkinsfile

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-10-15 21:38:24 -04:00
Ursprung 88d9979e8b
Commit 51473155c0

7
Jenkinsfile vendored
Datei anzeigen

@ -10,9 +10,14 @@ pipeline {
args '-v gradle-cache:/root/.gradle:rw' args '-v gradle-cache:/root/.gradle:rw'
} }
} }
if (GIT_BRANCH == "master") {
steps {
sh './gradlew build --no-daemon'
}
} else {
steps { steps {
sh './gradlew build --no-daemon' sh './gradlew build --no-daemon'
if (GIT_BRANCH == "master") {
archiveArtifacts 'proxy/build/libs/*-all.jar,api/build/libs/*-all.jar' archiveArtifacts 'proxy/build/libs/*-all.jar,api/build/libs/*-all.jar'
} }
} }