Tomishinets Vladimir 3 years ago
parent
commit
62469bd6e6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      updateK8s.Jenkinsfile

+ 3 - 0
updateK8s.Jenkinsfile

@@ -41,6 +41,8 @@ pipeline {
           CHART_PATH = "helm/" + DOCKER_IMAGE.split("/")[0]
           VALUES_FILE_DEV = HELM_DIR + "/helm/" + "dev-" + DOCKER_IMAGE.split("/")[1] + ".yaml"
           VALUES_FILE_PROD = HELM_DIR + "/helm/" + "dev-" + DOCKER_IMAGE.split("/")[1] + ".yaml"
+          echo "VALUES_FILE_DEV = ${VALUES_FILE_DEV}"
+          echo "VALUES_FILE_PROD = ${VALUES_FILE_PROD}"
         }
       }
     }
@@ -52,6 +54,7 @@ pipeline {
           TAG_PATH_BUILD = "images." + DOCKER_IMAGE.split("/")[1] + ".build"
           TAG = yamlOps.getBuilder(TAG_PATH_BUILD, data_build)
           def data_stable = readYaml file: VALUES_FILE_PROD
+          echo "Next TAG = ${data_stable}"
           TAG_PATH_STABLE = "images." + DOCKER_IMAGE.split("/")[1] + ".stable"
           yamlOps.updateBuilder(TAG_PATH_STABLE, data_stable, TAG)
           writeYaml file: "${CHART_PATH}/values.yaml", data: data_stable, overwrite: true