Merge "Configure CSIT Jenkins view"
[ci-management.git] / jjb / hc2vpp / include-raw-hc2vpp-csit-verify-odl.sh
1 #!/bin/bash
2 set -xeu -o pipefail
3
4 # create HC .deb packages
5 ./packaging/deb/xenial/debuild.sh
6 cp ./packaging/deb/xenial/*.deb ${WORKSPACE}/csit
7
8 cd ${WORKSPACE}/csit
9 # execute csit bootstrap script if it exists
10 if [ ! -e bootstrap-hc2vpp-verify.sh ]
11 then
12     echo 'ERROR: No bootstrap-hc2vpp-verify.sh found'
13     exit 1
14 else
15     # make sure that bootstrap.sh is executable
16     chmod +x bootstrap-hc2vpp-verify.sh
17     # run the script
18     ./bootstrap-hc2vpp-verify-odl.sh ${OS} ${ODL}
19 fi
20
21 # vim: ts=4 ts=4 sts=4 et :