From 20b899d08c159f8e016354ec043d5968dd5e8b55 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Thu, 16 Mar 2023 00:12:59 -0500 Subject: [PATCH] Quick format --- Jenkinsfile | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 7e96f40..b04fecd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,7 +6,7 @@ pipeline { stages { stage('applyPatches') { steps { - scmSkip(deleteBuild: true) + scmSkip(deleteBuild: true) withGradle { sh './gradlew applyPatches --no-daemon --refresh-dependencies' } @@ -31,19 +31,19 @@ pipeline { branch "1.19.4" } 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 {