mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
if docker network exists bypass with return of 1
This commit is contained in:
parent
2499493c75
commit
96e172ee56
1 changed files with 1 additions and 1 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -19,7 +19,7 @@ pipeline {
|
|||
|
||||
stage('MySQL setup') {
|
||||
steps {
|
||||
sh 'docker network create petclinic'
|
||||
sh 'docker network create petclinic || true'
|
||||
sh 'docker run -d --network petclinic -e MYSQL_USER=petclinic -e MYSQL_PASSWORD=petclinic -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=petclinic -p 3306:3306 mysql:5.7.8'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue