mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Added condition to only deploy on master branch
This commit is contained in:
parent
7bf003fb94
commit
d73307b16d
1 changed files with 3 additions and 0 deletions
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
|
@ -20,6 +20,9 @@ pipeline {
|
|||
}
|
||||
|
||||
stage('Deploy') {
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
sh './mvnw deploy -DaltDeploymentRepository=internal.repo::default::file:///C:/Users/felix/Desktop/PetClinicDeploy'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue