Commit ec14f48f authored by xujian's avatar xujian

xx

parent cf18aa32
......@@ -151,6 +151,7 @@ pipeline {
stage('步骤五: 服务部署'){
steps {
withCredentials([file(credentialsId: '00789dc5-a86e-427d-9a57-f5d02a52cb6e', variable: 'KUBECONFIG_FILE')]) {
script {
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 == "CORE") sh "KUBECONFIG=\$KUBECONFIG_FILE helm install core core-charts/ -n core"
......@@ -158,6 +159,7 @@ pipeline {
}
}
}
}
post {
success {
echo '部署实施'
......
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