summaryrefslogtreecommitdiffstats
path: root/jjb/hc2vpp/include-raw-hc2vpp-csit-integration.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/hc2vpp/include-raw-hc2vpp-csit-integration.sh')
-rw-r--r--jjb/hc2vpp/include-raw-hc2vpp-csit-integration.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/jjb/hc2vpp/include-raw-hc2vpp-csit-integration.sh b/jjb/hc2vpp/include-raw-hc2vpp-csit-integration.sh
index 9bc42ad3e..6155a46a3 100644
--- a/jjb/hc2vpp/include-raw-hc2vpp-csit-integration.sh
+++ b/jjb/hc2vpp/include-raw-hc2vpp-csit-integration.sh
@@ -2,7 +2,10 @@
set -xeu -o pipefail
# Clone csit and start tests
-git clone https://gerrit.fd.io/r/csit --branch master
+if [ ${STREAM} == 'master' ]; then
+ git clone https://gerrit.fd.io/r/csit --branch master
+else
+ git clone https://gerrit.fd.io/r/csit --branch 'rls'${STREAM}
# If the git clone fails, complain clearly and exit
if [ $? != 0 ]; then
@@ -20,7 +23,11 @@ else
# make sure that bootstrap.sh is executable
chmod +x bootstrap-hc2vpp-integration.sh
# run the script
- ./bootstrap-hc2vpp-integration.sh
+ if [ ${STREAM} == 'master' ]; then
+ ./bootstrap-hc2vpp-integration.sh ${STREAM}
+ else
+ ./bootstrap-hc2vpp-integration.sh 'stable.'${STREAM}
+ fi
fi
# vim: ts=4 ts=4 sts=4 et :