Scissors/Jenkinsfile
2022-04-10 16:54:42 -05:00

28 lines
749 B
Groovy

pipeline {
agent any
options {
properties([buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5')), pipelineTriggers([githubPush()])])
}
stages {
stage('applyPatches') {
steps {
withGradle {
sh './gradlew applyPatches --no-daemon'
}
}
}
stage('paperclipJar') {
steps {
withGradle {
sh './gradlew paperclipJar --no-daemon'
}
}
}
}
post {
always {
archiveArtifacts artifacts: 'build/libs/*.jar', fingerprint: true
cleanWs()
}
}
}