Commit 64366c49 authored by xujian's avatar xujian

xx

parent 3cb1a081
......@@ -132,7 +132,7 @@ pipeline {
// sh "cd ${module.path}/target/ && ls -la "
// sh "cp ${module.path}/target/*.jar ${workspace}/Docker/noencryption/"
sh "export DOCKER_HOST=192.168.31.93"
sh "cd ${workspace}/Docker/noencryption/ && docker build -t --build-arg FILE_NAME=${workspace}/${module.dir}/${module.path}/target/*.jar ${module.name}:${module.version} ."
sh "cd ${workspace}/Docker/noencryption/ && docker build -t ${module.name}:${module.version} --build-arg FILE_NAME=${workspace}/${module.dir}/${module.path}/target/*.jar ."
}
}
}
......
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