geforkt von Mirrors/Velocity
Fix Jenkinsfile
Dieser Commit ist enthalten in:
Ursprung
88d9979e8b
Commit
51473155c0
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren