summaryrefslogtreecommitdiffstats
path: root/jjb/hc2vpp/include-raw-hc2vpp-csit-verify-prebuild.sh
blob: 62b495e9c339cf11d5c49b808eda701010d5236c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
set -xeu -o pipefail

current_dir = `pwd`
cd ${WORKSPACE}

# Clone csit and run package download script
git clone https://gerrit.fd.io/r/csit --branch master

# If the git clone fails, complain clearly and exit
if [ $? != 0 ]; then
    echo "Failed to run: git clone https://gerrit.fd.io/r/csit --branch master"
    exit
fi

./csit/resources/tools/download_hc_build_pkgs.sh

cd ${current_dir}