Add test for master branch

This commit is contained in:
Daphne Augier 2020-04-11 16:45:55 +02:00 committed by GitHub
parent 8310d2b557
commit 4548820897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

7
Jenkinsfile vendored
View file

@ -1,3 +1,4 @@
#!/usr/bin/env groovy
pipeline {
agent any
stages {
@ -11,18 +12,20 @@ pipeline {
sh './mvnw test'
}
}
stage('Package') {
steps {
sh './mvnw package'
}
}
/*
if( env.BRANCH_NAME == 'master' ) {
stage('Deploy') {
steps {
sh './mvnw deploy'
}
}
*/
}
}
post {
always {