add packaged stage

This commit is contained in:
Mohamed Hefny 2020-03-14 18:14:20 -04:00 committed by GitHub
parent f8011d7a1e
commit 6a73fb8c86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
Jenkinsfile vendored
View file

@ -3,7 +3,7 @@ pipeline {
stages { stages {
stage('Build') { stage('Build') {
steps { steps {
bat './mvnw package' bat './mvnw compile'
} }
} }
stage('Test') { stage('Test') {
@ -11,6 +11,11 @@ pipeline {
bat './mvnw test' bat './mvnw test'
} }
} }
stage('Package') {
steps {
bat './mvnw package'
}
}
stage('Deploy') { stage('Deploy') {
when { when {
branch 'master' branch 'master'