Added Jenkinsfile

This commit is contained in:
Chen 2020-03-09 10:22:18 -04:00
parent fb19855733
commit bc67a9733e

4
Jenkinsfile vendored
View file

@ -7,16 +7,19 @@ pipeline {
sh './mvnw package'
}
}
stage('Test') {
steps {
sh 'mvn clean test'
}
}
stage('Package') {
steps {
echo 'Package'
}
}
stage('Deploy') {
when {
branch 'master'
@ -25,5 +28,6 @@ pipeline {
echo 'Deploying'
}
}
}
}