Commit c52fb3ce authored by 徐剑's avatar 徐剑

撤销更改

parent 3569f271
......@@ -157,6 +157,7 @@ pipeline {
steps {
script {
for (web in webs) {
if(web.isUpdate){
sh "docker build -f Docker/nginx/Dockerfile -t ${push_path}/${web.name}:${web.version} --build-arg FILE_NAME=${web.dir}/dist/ ${workspace}"
sh "echo Qrcode@2022 | docker login https://192.168.31.201 --username admin --password-stdin"
sh "docker push ${push_path}/${web.name}:${web.version}"
......@@ -165,6 +166,7 @@ pipeline {
}
}
}
}
stage('步骤五: 服务部署'){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment