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"
}
steps {
try {
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
withGradle {
sh "./gradlew :Scissors-API:publish --no-daemon"
}
}
true
} catch (_) {
false
script {
try {
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
withGradle {
sh "./gradlew :Scissors-API:publish --no-daemon"
}
}
true
} catch (_) {
false
}
}
}
}
}
}
post {