specifying to deploy to tomcat and fixing network names

This commit is contained in:
Benjamin Stein 2017-06-05 16:35:09 -07:00
parent 0e0540d767
commit d92d7481e2

6
Jenkinsfile vendored
View file

@ -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 {