Commit 931e9c6c authored by xujian's avatar xujian

xx

parent c58c0057
......@@ -125,7 +125,7 @@ pipeline {
for (module in modules) {
if(module.isUpdate && module.isEncryption){
sh "cd ${module.dir}/${module.path} && mvn classfinal:classFinal"
sh "docker build -f Docker/encryption/Dockerfile -t ${push_path}/${module.name}:${module.version} --build-arg FILE_NAME=${module.dir}/${module.path}/target/*.jar ${workspace}"
sh "docker build -f Docker/encryption/Dockerfile -t ${push_path}/${module.name}:${module.version} --build-arg FILE_NAME=${module.dir}/${module.path}/target/*-encrypted.jar ${workspace}"
sh "echo Qrcode@2022 | docker login https://192.168.31.201 --username admin --password-stdin"
sh "docker push ${push_path}/${module.name}:${module.version}"
sh "docker images -f 'dangling=true' -q | xargs -r docker rmi"
......
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