mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
deploy
This commit is contained in:
parent
f7792b2de2
commit
caa537f81e
1 changed files with 2 additions and 5 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -20,15 +20,12 @@ pipeline {
|
|||
}
|
||||
}
|
||||
stage('Deploy') {
|
||||
steps{
|
||||
echo "Branch name: ${env.BRANCH_NAME}"
|
||||
}
|
||||
when {
|
||||
branch 'master'
|
||||
}
|
||||
steps {
|
||||
echo "Merge to master"
|
||||
sh 'git pull'
|
||||
echo "Branch name: ${env.BRANCH_NAME}"
|
||||
sh './mvnw deploy'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue