X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tests%2Finstall_honeynode.sh;h=7b7c0b5d80741a5eda5a6f7c0a77f9712c0fae0f;hb=refs%2Fchanges%2F44%2F104944%2F5;hp=76c652bb1e644f65483fabba54c5b4315d0841cf;hpb=b1963de14a066689a386d062a4c936730296518e;p=transportpce.git diff --git a/tests/install_honeynode.sh b/tests/install_honeynode.sh index 76c652bb1..7b7c0b5d8 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.9 ;; *) 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