Update Jenkinsfile

This commit is contained in:
A-hash-bit 2022-08-11 17:30:27 +05:30 committed by GitHub
parent 33e1e2096e
commit 22642a7137
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
Jenkinsfile vendored
View file

@ -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}")
} }