Merge "CSIT-474: CSIT documentation auto generation"
[ci-management.git] / jjb / hc2vpp / include-raw-hc2vpp-csit-verify-prebuild.sh
1 #!/bin/bash
2 set -xeu -o pipefail
3
4 current_dir = `pwd`
5 cd ${WORKSPACE}
6
7 # Clone csit and run package download script
8 git clone https://gerrit.fd.io/r/csit --branch master
9
10 # If the git clone fails, complain clearly and exit
11 if [ $? != 0 ]; then
12     echo "Failed to run: git clone https://gerrit.fd.io/r/csit --branch master"
13     exit
14 fi
15
16 ./csit/resources/tools/download_hc_build_pkgs.sh
17
18 cd ${current_dir}