Tomishinets Vladimir 4 år sedan
förälder
incheckning
181175804a
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      devK8s.Jenkinsfile

+ 2 - 1
devK8s.Jenkinsfile

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