Commit 34beb92e authored by xujian's avatar xujian

优化

parent d7920ebc
...@@ -146,16 +146,17 @@ pipeline { ...@@ -146,16 +146,17 @@ pipeline {
} }
if (module.isUpdate) { if (module.isUpdate) {
sh "docker tag ${push_path}/${module.name}:${module.version} ${module.name}:${module.version}" sh "docker tag ${push_path}/${module.name}:${module.version} ${module.name}:${module.version}"
sh "docker save -o ${module.name}-${module.version}.tar ${module.name}:${module.version}" sh "cd Docker/images && docker save -o ${module.name}-${module.version}.tar ${module.name}:${module.version}"
} }
} }
} }
} }
post { post {
success { success {
echo '构建成功' archiveArtifacts artifacts: '${workspace}/Docker/**', followSymlinks: false
} echo '构建成功'
}
} }
} }
stage('步骤五: 前端构建'){ stage('步骤五: 前端构建'){
......
...@@ -46,7 +46,7 @@ core: ...@@ -46,7 +46,7 @@ core:
path: factory-tobacco-qrcode-modules-device path: factory-tobacco-qrcode-modules-device
isEncryption: false isEncryption: false
version: v25.04.22-2.04.001.001-cs version: v25.04.22-2.04.001.001-cs
isUpdate: true isUpdate: false
- name: factory-tobacco-qrcode-modules-file - name: factory-tobacco-qrcode-modules-file
path: factory-tobacco-qrcode-modules-file path: factory-tobacco-qrcode-modules-file
......
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