Unverified Commit 7b54b926 authored by prawinkorvi's avatar prawinkorvi Committed by GitHub

Update Jenkinsfile

parent 462797f8
...@@ -17,8 +17,8 @@ pipeline { ...@@ -17,8 +17,8 @@ pipeline {
stage('Copy Artifact') { stage('Copy Artifact') {
steps { steps {
sh 'cp -r petclinic-build/target/*.war docker' sh 'cp -r petclinic-build/target/*.war docker'
} }
} }
stage('Build docker image') { stage('Build docker image') {
steps { steps {
...@@ -27,8 +27,6 @@ pipeline { ...@@ -27,8 +27,6 @@ pipeline {
docker.withRegistry('https://registry.hub.docker.com', 'dockerhub') { docker.withRegistry('https://registry.hub.docker.com', 'dockerhub') {
customImage.push(versionnum+"."+"${env.BUILD_NUMBER}") customImage.push(versionnum+"."+"${env.BUILD_NUMBER}")
} }
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment