X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Finstall_honeynode.sh;h=7ad3de221342044b68cd4cdbb8fb187f8936c1b5;hb=refs%2Fchanges%2F30%2F104230%2F1;hp=76c652bb1e644f65483fabba54c5b4315d0841cf;hpb=f2ffa78f48f26ca5193a4e595276150ceac06695;p=transportpce.git diff --git a/tests/install_honeynode.sh b/tests/install_honeynode.sh index 76c652bb1..7ad3de221 100755 --- a/tests/install_honeynode.sh +++ b/tests/install_honeynode.sh @@ -18,11 +18,11 @@ fi for VERSION in $VERSIONS_LIST do case "$VERSION" in - "1.2.1") PLUGIN_VERSION=1.0.7 + "1.2.1") PLUGIN_VERSION=1.0.9 ;; - "2.2.1") PLUGIN_VERSION=2.0.7 + "2.2.1") PLUGIN_VERSION=2.0.10 ;; - "7.1") PLUGIN_VERSION=7.1.4 + "7.1") PLUGIN_VERSION=7.1.7 ;; *) echo "unsupported device version" >&2 continue @@ -44,7 +44,7 @@ do #complete source code can be found at https://gitlab.com/Orange-OpenSource/lfn/odl/honeynode-simulator.git echo "Installing honeynode for $VERSION devices to $INSTALL_DIR directory " - curl --retry-delay 10 --retry 3 -sS --location --request GET $TARGET_URL -o $ARTIFACT_ZIPFILE + curl --retry-delay 10 --retry 3 -sS --location --request GET $TARGET_URL -o $ARTIFACT_ZIPFILE || exit 2 unzip -q $ARTIFACT_ZIPFILE -d $TARGET_DIR rm -f $ARTIFACT_ZIPFILE