Browse Source

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

Tomishinets Vladimir 3 years ago
parent
commit
bb84b3271b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      devK8s.Jenkinsfile

+ 1 - 1
devK8s.Jenkinsfile

@@ -45,7 +45,7 @@ pipeline {
           echo "Defining variables"
           echo "Defining variables"
           HELM_DIR = dirOps.calculateDir(HELM_GIT_URL)
           HELM_DIR = dirOps.calculateDir(HELM_GIT_URL)
           CHART_PATH = HELM_DIR + "/helm/" + DOCKER_IMAGE.split("/")[0]
           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}"
           IMAGE_TO_PUSH = "${DOCKER_REGISTRY}/${DOCKER_IMAGE}:${repo}-${BUILD_NUMBER}"
         }
         }
       }
       }