Pārlūkot izejas kodu

Изменение values.file

Tomishinets Vladimir 3 gadi atpakaļ
vecāks
revīzija
bb84b3271b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      devK8s.Jenkinsfile

+ 1 - 1
devK8s.Jenkinsfile

@@ -45,7 +45,7 @@ pipeline {
           echo "Defining variables"
           HELM_DIR = dirOps.calculateDir(HELM_GIT_URL)
           CHART_PATH = HELM_DIR + "/helm/" + DOCKER_IMAGE.split("/")[0]
-          VALUES_FILE = "${CHART_PATH}/dev.yaml"
+          VALUES_FILE = HELM_DIR + "/helm/" + "dev-" + DOCKER_IMAGE.split("/")[0] + ".yaml"
           IMAGE_TO_PUSH = "${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}"
         }
       }