summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-exit.sh
blob: f2aa2d03231050ffa7d6076aadf66b458d7c4bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

branch=${GIT_BRANCH##*/}
ret_val_file="${HOME}/opnfv/functest/results/${branch}/return_value"
if [ ! -f ${ret_val_file} ]; then
    echo "Return value not found!"
    exit -1
fi

ret_val=`cat ${ret_val_file}`

exit ret_val