Commit cf18aa32 by xujian

xx

parent 4745d9cb
......@@ -152,9 +152,9 @@ pipeline {
steps {
withCredentials([file(credentialsId: '00789dc5-a86e-427d-9a57-f5d02a52cb6e', variable: 'KUBECONFIG_FILE')]) {
for( repo in repos){
if(repo.isUpdate && repo.name == "BASE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install base base-charts/"
if(repo.isUpdate && repo.name == "CORE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install core core-charts/"
if(repo.isUpdate && repo.name == "HTJ") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install htj htj-charts/"
if(repo.isUpdate && repo.name == "BASE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install base base-charts/ -n base"
if(repo.isUpdate && repo.name == "CORE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install core core-charts/ -n core"
if(repo.isUpdate && repo.name == "HTJ") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install htj htj-charts/ -n htj"
}
}
}
......
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