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' + } } } }