Fix autorespawning of packagecloud test jobs
[ci-management.git] / jjb / hc2vpp / include-raw-hc2vpp-csit-integration.sh
index 6155a46..14ce670 100644 (file)
@@ -5,7 +5,8 @@ set -xeu -o pipefail
 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}
+    git clone https://gerrit.fd.io/r/csit --branch 'rls'${STREAM}
+fi
 
 # If the git clone fails, complain clearly and exit
 if [ $? != 0 ]; then
@@ -24,9 +25,9 @@ else
     chmod +x bootstrap-hc2vpp-integration.sh
     # run the script
     if [ ${STREAM} == 'master' ]; then
-        ./bootstrap-hc2vpp-integration.sh ${STREAM}
+        ./bootstrap-hc2vpp-integration.sh ${STREAM} ${OS}
     else
-        ./bootstrap-hc2vpp-integration.sh 'stable.'${STREAM}
+        ./bootstrap-hc2vpp-integration.sh 'stable.'${STREAM} ${OS}
     fi
 fi