2022-04-04 17:21:20 -05:00
|
|
|
pipeline {
|
|
|
|
agent any
|
2022-04-10 16:54:42 -05:00
|
|
|
options {
|
2022-04-10 16:58:49 -05:00
|
|
|
buildDiscarder logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5')
|
2022-04-10 16:54:42 -05:00
|
|
|
}
|
2022-04-04 17:21:20 -05:00
|
|
|
stages {
|
2022-04-07 16:07:56 -05:00
|
|
|
stage('applyPatches') {
|
2022-04-04 17:21:20 -05:00
|
|
|
steps {
|
2022-04-07 00:05:56 -05:00
|
|
|
withGradle {
|
|
|
|
sh './gradlew applyPatches --no-daemon'
|
2022-04-07 16:07:56 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('paperclipJar') {
|
|
|
|
steps {
|
|
|
|
withGradle {
|
2022-04-07 00:05:56 -05:00
|
|
|
sh './gradlew paperclipJar --no-daemon'
|
|
|
|
}
|
2022-04-04 17:21:20 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
archiveArtifacts artifacts: 'build/libs/*.jar', fingerprint: true
|
2022-04-06 21:45:16 -05:00
|
|
|
cleanWs()
|
2022-04-04 17:21:20 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|