Split build into stages

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

18
Jenkinsfile vendored
View file

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