Commit ad0e0c60 authored by wentao.suo's avatar wentao.suo

fff

parent e70c9c7b
......@@ -46,7 +46,13 @@ def call(body) {
sh "mkdir -p ${contextDir}"
withDockerServer([uri: "tcp://192.168.4.96:2375/"]) {
docker.image("192.168.4.36/baseimg/jenkins-slave:2018040302").inside('-v /root/.m2:/root/.m2 -v /home/quant_group/qg-dockerfiles:/home/quant_group/qg-dockerfiles -v /home/quant_group/pacakge/:/home/quant_group/pacakge/'){
def volume = "-v /root/.m2:/root/.m2 "
volume +="-v /home/quant_group/qg-dockerfiles:/home/quant_group/qg-dockerfiles "
volume +="-v /home/quant_group/config_repository:/home/quant_group/config_repository "
volume +="-v /home/quant_group/pacakge/:/home/quant_group/pacakge/ "
docker.image("192.168.4.36/baseimg/jenkins-slave:2018040302").inside(volume){
git_path = project_attr(systemName)["gitPath"]
if(git_path =="git@gitabc.xyqb.com:data-riskcontrol/urge-dispatcher.git"){
git_path = "git@gitabc.xyqb.com:data-riskcontrol/urge_dispatcher.git"
......
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