This commit is contained in:
Telesphoreo 2023-03-06 01:02:55 -06:00
parent 785a0df912
commit c0a8f2c8de
1 changed files with 12 additions and 10 deletions

22
Jenkinsfile vendored
View File

@ -30,17 +30,19 @@ pipeline {
branch "1.19.3" branch "1.19.3"
} }
steps { steps {
try { script {
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) { try {
withGradle { withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
sh "./gradlew :Scissors-API:publish --no-daemon" withGradle {
} sh "./gradlew :Scissors-API:publish --no-daemon"
} }
true }
} catch (_) { true
false } catch (_) {
false
}
} }
} }
} }
} }
post { post {