Scissors/Jenkinsfile

28 lines
700 B
Plaintext
Raw Normal View History

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