Quick format

This commit is contained in:
Telesphoreo 2023-03-16 00:12:59 -05:00
parent 4c619e5bf6
commit 20b899d08c

28
Jenkinsfile vendored
View File

@ -6,7 +6,7 @@ pipeline {
stages { stages {
stage('applyPatches') { stage('applyPatches') {
steps { steps {
scmSkip(deleteBuild: true) scmSkip(deleteBuild: true)
withGradle { withGradle {
sh './gradlew applyPatches --no-daemon --refresh-dependencies' sh './gradlew applyPatches --no-daemon --refresh-dependencies'
} }
@ -31,19 +31,19 @@ pipeline {
branch "1.19.4" branch "1.19.4"
} }
steps { steps {
script { script {
try { try {
withCredentials([usernamePassword(credentialsId: 'scissors-ci', passwordVariable: 'scissorsPassword', usernameVariable: 'scissorsUser')]) { 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 true
} catch (_) { } catch (_) {
false false
} }
} }
} }
} }
} }
post { post {