mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善jenkins文件, 增加部署流程
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -71,7 +71,7 @@ pipeline{
|
||||
steps{
|
||||
|
||||
sh "kubectl --kubeconfig=homelab.yaml apply -k k8s/${env.BRANCH_NAME}/"
|
||||
sh "kubectl --kubeconfig=homelab.yaml rollout restart deployment/coal-api --namespace coal-${env.BRANCH_NAME}/"
|
||||
sh "kubectl --kubeconfig=homelab.yaml rollout restart deployment/coal-api --namespace coal-${env.BRANCH_NAME}"
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user