Tomishinets Vladimir %!s(int64=4) %!d(string=hai) anos
pai
achega
181175804a
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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}"