More jenkinstuff

This commit is contained in:
Mina Selim 2020-03-15 20:41:00 -04:00
parent c027ffcd9c
commit 4d54fb409b

9
Jenkinsfile vendored
View file

@ -5,18 +5,21 @@ pipeline {
steps { steps {
sh './mvnw compile' sh './mvnw compile'
} }
}, }
stage('Test') { stage('Test') {
steps { steps {
sh './mvnw test' sh './mvnw test'
} }
}, }
stage('Package') { stage('Package') {
steps { steps {
sh './mvnw package' sh './mvnw package'
} }
}, }
stage('deploy') { stage('deploy') {
when {
branch 'master'
}
steps { steps {
sh './mvnw deploy' sh './mvnw deploy'
} }