Commit 0a394076 by xujian

xx

parent 3d30ed55
...@@ -153,9 +153,9 @@ pipeline { ...@@ -153,9 +153,9 @@ pipeline {
withCredentials([file(credentialsId: '00789dc5-a86e-427d-9a57-f5d02a52cb6e', variable: 'KUBECONFIG_FILE')]) { withCredentials([file(credentialsId: '00789dc5-a86e-427d-9a57-f5d02a52cb6e', variable: 'KUBECONFIG_FILE')]) {
script { script {
for( repo in repos){ for( repo in repos){
if(repo.isUpdate && repo.name == "BASE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install base base-charts/ -n base" if(repo.isUpdate && repo.name == "BASE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install base base-charts/ -n base --value project.yaml"
if(repo.isUpdate && repo.name == "CORE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install core core-charts/ -n core" if(repo.isUpdate && repo.name == "CORE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install core core-charts/ -n core --value project.yaml"
if(repo.isUpdate && repo.name == "HTJ") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install htj htj-charts/ -n htj" if(repo.isUpdate && repo.name == "HTJ") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install htj htj-charts/ -n htj --value project.yaml"
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment