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

13
Jenkinsfile vendored
Datei anzeigen

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