From bdbfc4480c3838275a3f3725ffdbfe8a3f463faa Mon Sep 17 00:00:00 2001 From: Stas Bezuhlyi <56916662+stasbezuhlyi@users.noreply.github.com> Date: Thu, 8 Apr 2021 18:57:27 +0300 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e4287620a..340681e25 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,14 +7,7 @@ pipeline { checkout scm } } - stage ('Test maven') { - steps { - sh ''' - mvn --version - mvn clean test surefire-report:report - ''' - } - } + stage('Build') { steps { echo 'Running build automation' @@ -27,7 +20,7 @@ pipeline { steps { echo 'Creating Docker Image...' sh ''' - docker build -t rodley/pet-clinic:${BUILD_NUMBER} -f Dockerfile + docker build . -t rodley/pet-clinic:${BUILD_NUMBER} -f Dockerfile ''' } }