NaturesAura/Jenkinsfile
2020-02-16 13:53:21 +01:00

29 lines
No EOL
422 B
Groovy

pipeline {
agent any
stages {
stage('Clean') {
steps {
sh './gradlew clean --no-daemon'
}
}
stage('Build') {
steps {
sh './gradlew build --no-daemon'
}
}
stage('Upload Artifacts') {
steps {
archiveArtifacts 'build/libs/**.jar'
}
}
stage('Publish') {
steps {
sh './gradlew publish --no-daemon'
}
}
}
}