mirror of
https://github.com/AtlasMediaGroup/Scissors.git
synced 2024-11-27 07:05:39 +00:00
attempt to clean cache for jenkins
This commit is contained in:
parent
31e9accdad
commit
b4b765c036
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@ -7,24 +7,31 @@ pipeline {
|
|||||||
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5')
|
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5')
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
|
stage('cleanCache') {
|
||||||
|
steps {
|
||||||
|
withGradle {
|
||||||
|
sh './gradlew cleanCache'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('applyPatches') {
|
stage('applyPatches') {
|
||||||
steps {
|
steps {
|
||||||
withGradle {
|
withGradle {
|
||||||
sh './gradlew applyPatches --no-daemon'
|
sh './gradlew applyPatches'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('paperclipJar') {
|
stage('paperclipJar') {
|
||||||
steps {
|
steps {
|
||||||
withGradle {
|
withGradle {
|
||||||
sh './gradlew createReobfPaperclipJar --no-daemon'
|
sh './gradlew createReobfPaperclipJar'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('test') {
|
stage('test') {
|
||||||
steps {
|
steps {
|
||||||
withGradle {
|
withGradle {
|
||||||
sh './gradlew test --no-daemon'
|
sh './gradlew test'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user