mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-26 22:55:39 +00:00
Update Jenkinsfile (#100)
This commit is contained in:
parent
1ce9a71b1e
commit
60ef55e21e
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@ -6,7 +6,6 @@ pipeline {
|
||||
stages {
|
||||
stage('applyPatches') {
|
||||
steps {
|
||||
scmSkip(deleteBuild: true)
|
||||
withGradle {
|
||||
sh './gradlew applyPatches --no-daemon --refresh-dependencies'
|
||||
}
|
||||
@ -26,25 +25,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('publish') {
|
||||
when {
|
||||
branch "1.19.3"
|
||||
}
|
||||
steps {
|
||||
script {
|
||||
try {
|
||||
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
|
||||
withGradle {
|
||||
sh "./gradlew :Scissors-API:publish --no-daemon"
|
||||
}
|
||||
}
|
||||
true
|
||||
} catch (_) {
|
||||
false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
Loading…
Reference in New Issue
Block a user