mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 21:15:50 +00:00
specifying to deploy to tomcat and fixing network names
This commit is contained in:
parent
0e0540d767
commit
d92d7481e2
1 changed files with 3 additions and 3 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -22,14 +22,14 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'cp target/petclinic.war /usr/share/jenkins/ref/petclinic/petclinic.war'
|
sh 'cp target/petclinic.war /usr/share/jenkins/ref/tomcat/petclinic.war'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Sonar') {
|
stage('Sonar') {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'sebp/sonar-runner'
|
image 'sebp/sonar-runner'
|
||||||
args '--network=plumbing_default'
|
args '--network=demodeploymentpipeline_default'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
@ -40,7 +40,7 @@ pipeline {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'liatrio/selenium-firefox'
|
image 'liatrio/selenium-firefox'
|
||||||
args '--network=plumbing_default'
|
args '--network=demodeploymentpipeline_default'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
steps {
|
steps {
|
||||||
|
|
Loading…
Reference in a new issue