X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fdownload_hc_build_pkgs.sh;h=9bcaefb8d051d27d302d003db527ef1d2146f1c2;hp=312d9f3353e58df1d6e19055b4555ddd141dfb0e;hb=b2f75ec0f52110c267b90372e657b664417c1f4b;hpb=8452c48c8b3f28ceccbea1e7d42b649238d8f497 diff --git a/resources/tools/download_hc_build_pkgs.sh b/resources/tools/download_hc_build_pkgs.sh index 312d9f3353..9bcaefb8d0 100755 --- a/resources/tools/download_hc_build_pkgs.sh +++ b/resources/tools/download_hc_build_pkgs.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright (c) 2016 Cisco and/or its affiliates. +# Copyright (c) 2017 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -22,8 +22,7 @@ OS=$2 # Download the latest VPP and VPP plugin .deb packages URL="https://nexus.fd.io/service/local/artifact/maven/content" -VER="LATEST" -REPO="fd.io.${STREAM}.${OS}" +VER="RELEASE" VPP_GROUP="io.fd.vpp" NSH_GROUP="io.fd.nsh_sfc" VPP_ARTIFACTS="vpp vpp-dbg vpp-dev vpp-dpdk-dev vpp-dpdk-dkms vpp-lib vpp-plugins vpp-api-java" @@ -43,6 +42,8 @@ elif [ "${OS}" == "centos7" ]; then CLASS="rpm" fi +REPO="fd.io.${STREAM}.${OS}" + for ART in ${VPP_ARTIFACTS}; do for PAC in $PACKAGE; do curl "${URL}?r=${REPO}&g=${VPP_GROUP}&a=${ART}&p=${PAC}&v=${VER}&c=${CLASS}" -O -J || exit