changed curl ip

This commit is contained in:
matthewpdias 2018-03-06 16:01:27 -08:00
parent b3e771ee35
commit 7d63e7171d

View file

@ -16,7 +16,7 @@ pipeline {
} }
} }
steps { steps {
sh 'mvn clean install -DskipTests=true -B' sh 'mvn clean install'
} }
} }
stage('Build container') { stage('Build container') {
@ -33,7 +33,7 @@ pipeline {
} }
} }
} }
stage('Run local container') { stage('Deploy container') {
agent any agent any
steps { steps {
sh 'docker rm -f petclinic-tomcat-temp || true' sh 'docker rm -f petclinic-tomcat-temp || true'
@ -43,7 +43,7 @@ pipeline {
stage('Smoke-Test') { stage('Smoke-Test') {
agent any agent any
steps { steps {
sh 'curl http://localhost:9966' sh 'curl http://127.0.0.1:9966'
} }
} }
stage('Stop local container') { stage('Stop local container') {