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 {
sh './mvnw compile'
}
},
}
stage('Test') {
steps {
sh './mvnw test'
}
},
}
stage('Package') {
steps {
sh './mvnw package'
}
},
}
stage('deploy') {
when {
branch 'master'
}
steps {
sh './mvnw deploy'
}