From b4b765c036bbba679e2b8110485ffcb9f347b1e9 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Mon, 13 Jun 2022 21:25:53 -0500 Subject: [PATCH] attempt to clean cache for jenkins --- Jenkinsfile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6c7fb87..231e29c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,24 +7,31 @@ pipeline { buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5') } stages { + stage('cleanCache') { + steps { + withGradle { + sh './gradlew cleanCache' + } + } + } stage('applyPatches') { steps { withGradle { - sh './gradlew applyPatches --no-daemon' + sh './gradlew applyPatches' } } } stage('paperclipJar') { steps { withGradle { - sh './gradlew createReobfPaperclipJar --no-daemon' + sh './gradlew createReobfPaperclipJar' } } } stage('test') { steps { withGradle { - sh './gradlew test --no-daemon' + sh './gradlew test' } } }