mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
deploying petclinic to a local directory in jenkins
This commit is contained in:
parent
061f269aab
commit
ca4a384cbb
1 changed files with 5 additions and 0 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -14,6 +14,11 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
stage ('Deploy to Tomcat') {
|
||||||
|
steps {
|
||||||
|
sh 'cp /target/petclinic.war /usr/share/jenkins/ref/petclinic/petclinic.war'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage ('Sonar') {
|
stage ('Sonar') {
|
||||||
steps {
|
steps {
|
||||||
sh '/var/jenkins_home/sonar/bin/sonar-runner'
|
sh '/var/jenkins_home/sonar/bin/sonar-runner'
|
||||||
|
|
Loading…
Reference in a new issue