Commit 34beb92e authored by xujian's avatar xujian

优化

parent d7920ebc
......@@ -146,7 +146,7 @@ pipeline {
}
if (module.isUpdate) {
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}"
}
}
}
......@@ -154,6 +154,7 @@ pipeline {
}
post {
success {
archiveArtifacts artifacts: '${workspace}/Docker/**', followSymlinks: false
echo '构建成功'
}
}
......
......@@ -46,7 +46,7 @@ core:
path: factory-tobacco-qrcode-modules-device
isEncryption: false
version: v25.04.22-2.04.001.001-cs
isUpdate: true
isUpdate: false
- name: 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