Browse Source

更新 'Jenkinsfile'

groupmealmanage^2
bpa 9 months ago
parent
commit
f3242397a2
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      Jenkinsfile

+ 4
- 4
Jenkinsfile View File

@@ -112,10 +112,10 @@ pipeline{
// input "确认要部署线上环境吗?"
// }
sh "sed -i 's/<BUILD_TAG>/${build_tag}/' k8s_saasbase.yaml"
sh "sed -i 's/<BRANCH_NAME>/${env.BRANCH_NAME}/' k8s_saasbase.yaml"
sh "sed -i 's/<NAMESPACES>/${params.environment}/' k8s_saasbase.yaml"
sh "kubectl apply -f k8s_saasbase.yaml --record"
// sh "sed -i 's/<BUILD_TAG>/${build_tag}/' k8s_saasbase.yaml"
// sh "sed -i 's/<BRANCH_NAME>/${env.BRANCH_NAME}/' k8s_saasbase.yaml"
// sh "sed -i 's/<NAMESPACES>/${params.environment}/' k8s_saasbase.yaml"
// sh "kubectl apply -f k8s_saasbase.yaml --record"




Loading…
Cancel
Save