Tomishinets Vladimir 3 years ago
parent
commit
126069fc58
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jenkinsfile-dev

+ 1 - 1
Jenkinsfile-dev

@@ -76,7 +76,7 @@ pipeline {
                   chmod 600 ${WORKSPACE}/id_rsa
                   chmod 600 ${WORKSPACE}/id_rsa
                """
                """
           }
           }
-          sh "docker build --build-arg branch=${branch} --build-arg git_repo=${REPO} --no-cache -t ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${BUILD_NUMBER} -f ${DOCKER_FILE}"
+          sh "docker build --build-arg branch=${branch} --build-arg git_repo=${REPO} --no-cache -t ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${BUILD_NUMBER} -f ./${DOCKER_FILE}"
           NEWTAG = sh(script: "docker run --rm ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${BUILD_NUMBER} cat /tmp/version 2> /dev/null", returnStdout: true).trim()
           NEWTAG = sh(script: "docker run --rm ${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${BUILD_NUMBER} cat /tmp/version 2> /dev/null", returnStdout: true).trim()
           NEWTAG = branch + "-" + NEWTAG + "_" + BUILD_NUMBER
           NEWTAG = branch + "-" + NEWTAG + "_" + BUILD_NUMBER
           echo "NEWTAG is $NEWTAG"
           echo "NEWTAG is $NEWTAG"