mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 01:15:49 +00:00
docker network creating
This commit is contained in:
parent
797e8418ac
commit
594b85b823
1 changed files with 1 additions and 0 deletions
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -19,6 +19,7 @@ pipeline {
|
|||
|
||||
stage('MySQL setup') {
|
||||
steps {
|
||||
sh 'docker network create petclinic'
|
||||
sh 'docker run --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