Ver código fonte

更新 'Jenkinsfile'

master
bpa 9 meses atrás
pai
commit
6de4e01dfe
1 arquivos alterados com 4 adições e 4 exclusões
  1. +4
    -4
      Jenkinsfile

+ 4
- 4
Jenkinsfile Ver arquivo

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




Carregando…
Cancelar
Salvar