Tomishinets Vladimir vor 4 Jahren
Ursprung
Commit
181175804a
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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}"