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