3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

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' args '-v gradle-cache:/root/.gradle:rw'
} }
} }
steps {
sh './gradlew build --no-daemon' if (GIT_BRANCH == "master") {
if (GIT_BRANCH == "master") { steps {
archiveArtifacts 'proxy/build/libs/*-all.jar,api/build/libs/*-all.jar' sh './gradlew build --no-daemon'
}
} else {
steps {
sh './gradlew build --no-daemon'
archiveArtifacts 'proxy/build/libs/*-all.jar,api/build/libs/*-all.jar'
} }
} }
} }