diff --git a/Jenkinsfile b/Jenkinsfile index 066f96b..6bfd259 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,7 +16,7 @@ pipeline{ choice( description: 'EIP环境', name: 'environment', - choices: ['dev1'] + choices: ['saasdev1'] ) choice( @@ -28,7 +28,7 @@ pipeline{ choice( description: '是否下载包', name: 'isDownloadPackage', - choices: ['是','否'] + choices: ['否','是'] ) string( @@ -86,7 +86,7 @@ pipeline{ sh "rm -rf ./dist/*" sh "npm run build" } - sh "docker build -t 10.2.1.24:10242/bpa/kitchenweb:${build_tag} ." + sh "docker build -t 10.2.1.24:10242/bpa/groupmealweb:${build_tag} ." } } } @@ -105,7 +105,7 @@ pipeline{ sh "docker login -u ${harborUser} -p ${harborPassword} 10.2.1.24:10242" if(params.operation=='develop') { - sh "docker push 10.2.1.24:10242/bpa/kitchenweb:${build_tag}" + sh "docker push 10.2.1.24:10242/bpa/groupmealweb:${build_tag}" } } } @@ -127,10 +127,10 @@ pipeline{ // /root/eip/web/shell/linux-eipweb.install.sh eipweb ${build_tag} 80 // """ - sh "sed -i 's//${build_tag}/' k8s_kitchenweb.yaml" - sh "sed -i 's//${env.BRANCH_NAME}/' k8s_kitchenweb.yaml" - sh "sed -i 's//${params.environment}/' k8s_kitchenweb.yaml" - sh "kubectl apply -f k8s_kitchenweb.yaml --record" + sh "sed -i 's//${build_tag}/' k8s_groupmealweb.yaml" + sh "sed -i 's//${env.BRANCH_NAME}/' k8s_groupmealweb.yaml" + sh "sed -i 's//${params.environment}/' k8s_groupmealweb.yaml" + sh "kubectl apply -f k8s_groupmealweb.yaml --record" }