Change the NSH SFC test trigger.
[ci-management.git] / jjb / csit / include-raw-csit-nsh_sfc-functional-virl.sh
1 #!/bin/bash
2 set -xeu -o pipefail
3
4 # execute nsh_sfc bootstrap script if it exists
5 if [ -e bootstrap-nsh_sfc-functional-virl.sh ]
6 then
7     # make sure that bootstrap-nsh_sfc-functional-virl.sh is executable
8     chmod +x bootstrap-nsh_sfc-functional-virl.sh
9     # run the script
10     if [ ${STREAM} == 'master' ]; then
11         ./bootstrap-nsh_sfc-functional-virl.sh ${STREAM} ${OS}
12     else
13         ./bootstrap-nsh_sfc-functional-virl.sh 'stable.'${STREAM} ${OS}
14     fi
15 else
16     echo 'ERROR: No bootstrap-nsh_sfc-functional-virl.sh found'
17     exit 1
18 fi
19
20 # vim: ts=4 ts=4 sts=4 et :