pipeline 修改
This commit is contained in:
parent
14bc67f8eb
commit
b0074126d1
@ -65,7 +65,7 @@ pipeline {
|
||||
stage('Apply') {
|
||||
steps {
|
||||
sh "pwd && whoami"
|
||||
sh "kubectl --kubeconfig=/root/.kube/prod-aliyun-config -n ${K8S_NAMESPACE} set image deployment/${K8S_DEPLOYMENT} ${K8S_APP_LABEL}=${IMAGE_REP_TAG}"
|
||||
sh "kubectl --kubeconfig=/var/jenkins_home/.kube/prod-aliyun-config -n ${K8S_NAMESPACE} set image deployment/${K8S_DEPLOYMENT} ${K8S_APP_LABEL}=${IMAGE_REP_TAG}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user