diff options
author | Michal Cmarada <mcmarada@cisco.com> | 2019-03-06 11:34:50 +0100 |
---|---|---|
committer | Michal Cmarada <mcmarada@cisco.com> | 2019-03-06 13:20:34 +0100 |
commit | 183a86be54d26a12cc949ed40d0ad85d0a7a28f3 (patch) | |
tree | 17dd2981f3b328c3282cae06d3f8f8ffd18bde93 /jjb | |
parent | 9db22a457d166a53e6e8cce9319e1ea39e853f77 (diff) |
fix include-raw-hc2vpp-csit-verify-prebuild script
- fix typo
- preserve support for older branches
Change-Id: I916a17430d8be6b9a8ba876cf5c6c6faf9fa76ae
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/hc2vpp/include-raw-hc2vpp-csit-verify-prebuild.sh | 10 |
1 files changed, 8 insertions, 2 deletions
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} |