Update Jenkinsfile (#100)

This commit is contained in:
Telesphoreo 2023-06-13 15:20:16 -05:00 committed by GitHub
parent 1ce9a71b1e
commit 60ef55e21e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 21 deletions

22
Jenkinsfile vendored
View File

@ -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 {
@ -54,4 +34,4 @@ pipeline {
cleanWs()
}
}
}
}