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

ffff

parent 15b23980
...@@ -42,16 +42,19 @@ def call(body) { ...@@ -42,16 +42,19 @@ def call(body) {
node { node {
try { try {
docker.image("192.168.4.36/baseimg/jenkins-slave:2018040203"){
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"
}
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: git_path docker.withServer('tcp://127.0.0.1:2376') {
docker.image("192.168.4.36/baseimg/jenkins-slave:2018040203"){
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"
}
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: git_path
sh 'mvn clean package -P test -D maven.test.skip=true' sh 'mvn clean package -P test -D maven.test.skip=true'
}
} }
}catch (err) { }catch (err) {
......
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