adding stages to this branch

This commit is contained in:
khalilalturk 2020-03-15 20:43:37 -04:00 committed by GitHub
parent e50579c64c
commit 36fcfe63d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

21
Jenkinsfile vendored
View file

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