mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:25:50 +00:00
changed curl ip
This commit is contained in:
parent
b3e771ee35
commit
7d63e7171d
1 changed files with 3 additions and 3 deletions
|
@ -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') {
|
||||||
|
|
Loading…
Reference in a new issue