浏览代码

missprint

Tomishinets Vladimir 3 年之前
父节点
当前提交
c24dc28c93
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      updateK8s.Jenkinsfile

+ 5 - 5
updateK8s.Jenkinsfile

@@ -48,13 +48,13 @@ pipeline {
       steps {
         script {
           echo "Update values.yaml"
-          def data = readYaml file: VALUES_FILE_DEV
+          def data_build = readYaml file: VALUES_FILE_DEV
           TAG_PATH_BUILD = "images." + DOCKER_IMAGE.split("/")[1] + ".build"
-          TAG = yamlOps.getBuilder(TAG_PATH_BUILD, data)
-          def data = readYaml file: VALUES_FILE_PROD
+          TAG = yamlOps.getBuilder(TAG_PATH_BUILD, data_build)
+          def data_stable = readYaml file: VALUES_FILE_PROD
           TAG_PATH_STABLE = "images." + DOCKER_IMAGE.split("/")[1] + ".stable"
-          yamlOps.updateBuilder(TAG_PATH_STABLE, data, TAG)
-          writeYaml file: "${CHART_PATH}/values.yaml", data: data, overwrite: true
+          yamlOps.updateBuilder(TAG_PATH_STABLE, data_stable, TAG)
+          writeYaml file: "${CHART_PATH}/values.yaml", data: data_stable, overwrite: true
         }
       }
     }