Commit 5b05002c by xujian

xx

parent 91df89be
...@@ -122,7 +122,6 @@ pipeline { ...@@ -122,7 +122,6 @@ pipeline {
steps { steps {
script { script {
for (module in modules) { for (module in modules) {
dir(module.dir) {
if(module.isUpdate && module.isEncryption){ if(module.isUpdate && module.isEncryption){
sh "cd ${module.path} && mvn classfinal:classFinal" sh "cd ${module.path} && mvn classfinal:classFinal"
sh "cp ${module.path}/target/*-encrypted.jar ${workspace}/Docker/encryption/" sh "cp ${module.path}/target/*-encrypted.jar ${workspace}/Docker/encryption/"
...@@ -134,7 +133,7 @@ pipeline { ...@@ -134,7 +133,7 @@ pipeline {
sh "export DOCKER_HOST=192.168.31.250" sh "export DOCKER_HOST=192.168.31.250"
sh "ls -la " sh "ls -la "
sh "docker build -f Docker/noencryption/Dockerfile -t ${module.name}:${module.version} --build-arg FILE_NAME=${module.dir}/${module.path}/target/*.jar ${workspace}" sh "docker build -f Docker/noencryption/Dockerfile -t ${module.name}:${module.version} --build-arg FILE_NAME=${module.dir}/${module.path}/target/*.jar ${workspace}"
}
} }
} }
} }
......
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