diff --git a/Jenkinsfile b/Jenkinsfile index adc152779..f174eb468 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -19,11 +19,11 @@ pipeline { } } - stage('Build a Docker Image') { + stage ('Build a Docker Image') { steps { // Build a Docker image script { - docker.build('petclinic:auto') + def customImage = docker.build('petclinic:auto') } } }