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 { pipeline {
agent any agent any
stages { stages {
@ -11,18 +12,20 @@ pipeline {
sh './mvnw test' sh './mvnw test'
} }
} }
stage('Package') { stage('Package') {
steps { steps {
sh './mvnw package' sh './mvnw package'
} }
} }
/*
if( env.BRANCH_NAME == 'master' ) {
stage('Deploy') { stage('Deploy') {
steps { steps {
sh './mvnw deploy' sh './mvnw deploy'
} }
} }
*/ }
} }
post { post {
always { always {