Split build into stages

This commit is contained in:
Felix 2020-03-15 23:04:34 -04:00
parent 856bce81a3
commit 9e80d58896

26
Jenkinsfile vendored
View file

@ -1,10 +1,28 @@
pipeline {
agent any
stages {
stage('Build') {
agent any
stages {
stage('Build') {
steps {
sh './mvnw clean install'
}
}
stage('Test') {
steps {
sh './mvnw test'
}
}
stage('Package') {
steps {
sh './mvnw package'
}
}
}
stage('Deploy') {
steps {
sh './mvnw deploy
}
}
}
}