From 3feb510c17a0a3a2dabdb84bd8f4ceea18868963 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Thu, 7 Apr 2022 00:05:56 -0500 Subject: [PATCH] Use Gradle wrapper --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3d667b2..cc14d59 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,8 +3,10 @@ pipeline { stages { stage('build') { steps { - sh './gradlew applyPatches --no-daemon' - sh './gradlew paperclipJar --no-daemon' + withGradle { + sh './gradlew applyPatches --no-daemon' + sh './gradlew paperclipJar --no-daemon' + } } } }