diff --git a/Jenkinsfile b/Jenkinsfile index 120282c..e51b292 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,6 +6,7 @@ pipeline { stages { stage('applyPatches') { steps { + scmSkip(deleteBuild: true) withGradle { sh './gradlew applyPatches --no-daemon --refresh-dependencies' } @@ -30,19 +31,19 @@ pipeline { branch "1.17.1" } steps { - script { - 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 {