Update Jenkins file for 345Asg 6-Q1

This commit is contained in:
landry333 2020-03-27 14:25:51 -04:00 committed by GitHub
parent 5c18155b47
commit 16dcd408ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

16
Jenkinsfile vendored
View file

@ -2,9 +2,25 @@ pipeline {
agent any
stages {
stage('Build') {
steps {
sh './mvnw clean'
}
}
stage('Test') {
steps {
sh './mvnw test'
}
}
stage('Package') {
steps {
sh './mvnw package'
}
}
stage('Deploy'){
when{ branch 'master' }
steps {
sh './mvnw deploy'
}
}
}