Fix Jenkinsfile
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -10,9 +10,14 @@ pipeline {
|
||||
args '-v gradle-cache:/root/.gradle:rw'
|
||||
}
|
||||
}
|
||||
|
||||
if (GIT_BRANCH == "master") {
|
||||
steps {
|
||||
sh './gradlew build --no-daemon'
|
||||
}
|
||||
} else {
|
||||
steps {
|
||||
sh './gradlew build --no-daemon'
|
||||
if (GIT_BRANCH == "master") {
|
||||
archiveArtifacts 'proxy/build/libs/*-all.jar,api/build/libs/*-all.jar'
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user