From 00d81de02684f3787117d891a172eedcad9461d5 Mon Sep 17 00:00:00 2001 From: dongxiancun Date: Thu, 18 Jul 2019 09:58:06 +0800 Subject: [PATCH] =?UTF-8?q?Mod=20aaa-12=20=E4=BF=AE=E6=94=B9=E5=85=AC?= =?UTF-8?q?=E5=8F=B8=E7=9A=84maven=20settings=E6=96=87=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E4=BE=BFJenkins=E7=BC=96=E8=AF=91=E3=80=82=20RCA?= =?UTF-8?q?=EF=BC=9A=20SOL=EF=BC=9A=20=E4=BF=AE=E6=94=B9=E4=BA=BA=EF=BC=9A?= =?UTF-8?q?dongxiancun=20=E6=A3=80=E8=A7=86=E4=BA=BA=EF=BC=9Adongxiancun?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ControlPlatform/aaa/retey.sh | 19 +++++++++ ControlPlatform/cmhi-settings.xml | 65 +++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 ControlPlatform/aaa/retey.sh diff --git a/ControlPlatform/aaa/retey.sh b/ControlPlatform/aaa/retey.sh new file mode 100644 index 000000000..4d3bdd3f3 --- /dev/null +++ b/ControlPlatform/aaa/retey.sh @@ -0,0 +1,19 @@ +#!/bin/sh + +while [ 0 -eq 0 ] +do + echo ".................. job begin ..................." + + # ...... call your command here 在这里调用你的命令 ...... + mvn clean install -Dcheckstyle.skip=true -Dmaven.gitcommitid.skip=true + + # check and retry + + if [ $? -eq 0 ]; then + echo "--------------- job complete ---------------" + break; + else + echo "...............error occur, retry in 2 seconds .........." + sleep 2 + fi +done \ No newline at end of file diff --git a/ControlPlatform/cmhi-settings.xml b/ControlPlatform/cmhi-settings.xml index d5dd7fbd4..8f6a409c9 100644 --- a/ControlPlatform/cmhi-settings.xml +++ b/ControlPlatform/cmhi-settings.xml @@ -3,6 +3,13 @@ E:\mvn_repo2 + + + public-nexus + aqb + aqb123 + local-nexus aqb @@ -13,6 +20,7 @@ aqb aqb123 + local-odlrelease aqb @@ -23,11 +31,24 @@ aqb aqb123 + dev + + + public-nexus + http://nexus.komect.net/nexus/content/groups/public/ + + true + + + false + + local-nexus http://nexus.komect.net/nexus/content/repositories/aqb/ @@ -48,18 +69,47 @@ true + + + + + opendaylight-release + local-odlrelease + local-odlrelease http://nexus.komect.net/nexus/content/repositories/opendaylight-release/ true + never false + + + + local-odlrelease + local-odlrelease + http://nexus.komect.net/nexus/content/repositories/opendaylight-release/ + + true + never + + + false + + + + + + + opendaylight-snapshots + local-odlsnapshot + local-odlsnapshot http://nexus.komect.net/nexus/content/repositories/opendaylight-snapshot/ false @@ -69,9 +119,24 @@ + + + local-odlsnapshot + local-odlsnapshot + http://nexus.komect.net/nexus/content/repositories/opendaylight-snapshot/ + + false + + + true + + + dev + opendaylight-release + opendaylight-snapshots