Added condition to only deploy on master branch

This commit is contained in:
Felix 2020-03-15 23:17:44 -04:00
parent 7bf003fb94
commit d73307b16d

3
Jenkinsfile vendored
View file

@ -20,6 +20,9 @@ pipeline {
}
stage('Deploy') {
when {
branch 'master'
}
steps {
sh './mvnw deploy -DaltDeploymentRepository=internal.repo::default::file:///C:/Users/felix/Desktop/PetClinicDeploy'
}