Update Jenkinsfile

This commit is contained in:
khalilalturk 2020-03-14 03:06:36 -04:00 committed by GitHub
parent 0e83027b08
commit 9b3865b0d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

32
Jenkinsfile vendored
View file

@ -6,16 +6,26 @@ pipeline {
sh './mvnw package'
}
}
stage('test') {
steps {
sh './mvnw package'
}
}
stage('package') {
steps {
sh './mvnw package'
}
}
}
stage('Test') {
steps {
sh 'mvn test'
}
}
stage('Package') {
steps {
sh 'mvn package'
}
}
stage('Deploy') {
when {
branch 'master'
}
steps {
sh 'mvn deploy'
}
}
}
}