summaryrefslogtreecommitdiffstats
path: root/jjb/hc2vpp/include-raw-hc2vpp-csit-integration.sh
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2017-01-25 17:15:01 +0100
committerselias <samelias@cisco.com>2017-01-31 09:59:45 +0100
commitdd42d337deed57c1ade52a1cac860c14af53fd9e (patch)
tree6dca1165b2a62318f8bb4cd4cf9a2aa687f9b4d5 /jjb/hc2vpp/include-raw-hc2vpp-csit-integration.sh
parent0389b9be435abe5cbc56b2ea4121fec0f086cb91 (diff)
Csit-Honeycomb job for 17.01
- relates to https://gerrit.fd.io/r/4933 Change-Id: I78e0a28d529b3308d0acd6a11a45ff49b24a8919 Signed-off-by: selias <samelias@cisco.com>
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 :