attempt to clean cache for jenkins

This commit is contained in:
Telesphoreo 2022-06-13 21:25:53 -05:00
parent 31e9accdad
commit b4b765c036

13
Jenkinsfile vendored
View File

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