mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 08:15:49 +00:00
Update Jenkinsfile
This commit is contained in:
parent
33e1e2096e
commit
22642a7137
1 changed files with 2 additions and 0 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -8,8 +8,10 @@ try{
|
||||||
// Get some code from a GitHub repository
|
// Get some code from a GitHub repository
|
||||||
echo "========executing checkout========"
|
echo "========executing checkout========"
|
||||||
git url:"https://github.com/A-hash-bit/spring-petclinic.git", branch:"main"
|
git url:"https://github.com/A-hash-bit/spring-petclinic.git", branch:"main"
|
||||||
|
echo "========checkout done========"
|
||||||
}
|
}
|
||||||
stage('Build docker') {
|
stage('Build docker') {
|
||||||
|
echo "========executing docker build========"
|
||||||
dockerImage = docker.build("petclinic:${env.BUILD_NUMBER}")
|
dockerImage = docker.build("petclinic:${env.BUILD_NUMBER}")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue