diff --git a/Jenkinsfile.groovy b/Jenkinsfile.groovy index 867d4102..2debad94 100644 --- a/Jenkinsfile.groovy +++ b/Jenkinsfile.groovy @@ -24,17 +24,17 @@ pipeline { step([$class: 'GitHubSetCommitStatusBuilder']) withGradle { sh './gradlew --version' - sh './gradlew clean --no-build-cache' + sh './gradlew clean --no-build-cache --no-configuration-cache' } } } stage('Build') { steps { withGradle { - sh './gradlew assembleGoogle --stacktrace --no-build-cache' - sh './gradlew bundleGoogle --stacktrace --no-build-cache' - sh './gradlew assembleFdroid --stacktrace --no-build-cache' - sh './gradlew bundleFdroid --stacktrace --no-build-cache' + sh './gradlew assembleGoogle --stacktrace --no-build-cache --no-configuration-cache' + sh './gradlew bundleGoogle --stacktrace --no-build-cache --no-configuration-cache' + sh './gradlew assembleFdroid --stacktrace --no-build-cache --no-configuration-cache' + sh './gradlew bundleFdroid --stacktrace --no-build-cache --no-configuration-cache' } } } @@ -46,8 +46,8 @@ pipeline { stage('Analyze') { steps { withGradle { - sh './gradlew lintGoogleRelease --no-build-cache' - sh './gradlew lintFdroidRelease --no-build-cache' + sh './gradlew lintGoogleRelease --no-build-cache --no-configuration-cache' + sh './gradlew lintFdroidRelease --no-build-cache --no-configuration-cache' } } }