From 183a86be54d26a12cc949ed40d0ad85d0a7a28f3 Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Wed, 6 Mar 2019 11:34:50 +0100 Subject: fix include-raw-hc2vpp-csit-verify-prebuild script - fix typo - preserve support for older branches Change-Id: I916a17430d8be6b9a8ba876cf5c6c6faf9fa76ae Signed-off-by: Michal Cmarada --- jjb/hc2vpp/include-raw-hc2vpp-csit-verify-prebuild.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'jjb') diff --git a/jjb/hc2vpp/include-raw-hc2vpp-csit-verify-prebuild.sh b/jjb/hc2vpp/include-raw-hc2vpp-csit-verify-prebuild.sh index 9e95f4a74..d63942ad1 100644 --- a/jjb/hc2vpp/include-raw-hc2vpp-csit-verify-prebuild.sh +++ b/jjb/hc2vpp/include-raw-hc2vpp-csit-verify-prebuild.sh @@ -70,7 +70,13 @@ if [[ -n "${csit_commit_id}" ]]; then fi # Download VPP packages -./resources/tools/scripts/download_hc_build_pkgs.sh ${STREAM} ${OS}l - +if [[ "1807 1810 1901" =~ .*$STREAM.* ]]; then + # add stable prefix for branches which have older version of package download script + # This can be removed when support for 1901 branch ends. + ./resources/tools/scripts/download_hc_build_pkgs.sh 'stable.'${STREAM} ${OS} +else + # master and 1904+ branches use new package-cloud download script + ./resources/tools/scripts/download_hc_build_pkgs.sh ${STREAM} ${OS} +fi cd ${WORKSPACE} -- cgit 1.2.3-korg