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

ffff

parent 15b23980
...@@ -42,6 +42,8 @@ def call(body) { ...@@ -42,6 +42,8 @@ def call(body) {
node { node {
try { try {
docker.withServer('tcp://127.0.0.1:2376') {
docker.image("192.168.4.36/baseimg/jenkins-slave:2018040203"){ docker.image("192.168.4.36/baseimg/jenkins-slave:2018040203"){
git_path = project_attr(systemName)["gitPath"] git_path = project_attr(systemName)["gitPath"]
if(git_path =="git@gitabc.xyqb.com:data-riskcontrol/urge-dispatcher.git"){ if(git_path =="git@gitabc.xyqb.com:data-riskcontrol/urge-dispatcher.git"){
...@@ -53,6 +55,7 @@ def call(body) { ...@@ -53,6 +55,7 @@ def call(body) {
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) {
ansiColor('xterm') { ansiColor('xterm') {
......
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