Update Jenkinsfile

This commit is contained in:
Telesphoreo 2023-03-15 16:06:31 -05:00 committed by GitHub
parent a7dbe8a38e
commit f3b3ef9f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

9
Jenkinsfile vendored
View File

@ -30,11 +30,18 @@ pipeline {
branch "1.18.2" branch "1.18.2"
} }
steps { steps {
withCredentials([usernamePassword(credentialsId: '8150559b-ec1d-41bd-a576-aa668a52c1ba', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) { script {
try {
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) {
withGradle { withGradle {
sh "./gradlew :Scissors-API:publish --no-daemon" sh "./gradlew :Scissors-API:publish --no-daemon"
} }
} }
true
} catch (_) {
false
}
}
} }
} }
} }