mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
a379821374
commit
14c6784fd7
1 changed files with 2 additions and 0 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -10,11 +10,13 @@ stages {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("deploy") {
|
stage("deploy") {
|
||||||
|
steps {
|
||||||
sh "cd spring-petclinic"
|
sh "cd spring-petclinic"
|
||||||
sh """
|
sh """
|
||||||
docker build -t pet-clinic:1.0 .
|
docker build -t pet-clinic:1.0 .
|
||||||
docker run -d -p 8080:8080 pet-clinic:1.0
|
docker run -d -p 8080:8080 pet-clinic:1.0
|
||||||
"""
|
"""
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue