Code Review
/
releng.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
10edab005c2422c7843ab9d10899e9760519402e
[releng.git]
/
jjb
/
functest
/
functest-exit.sh
1
#!/bin/bash
2
3
branch=${GIT_BRANCH##*/}
4
ret_val_file="${HOME}/opnfv/functest/results/${branch}/return_value"
5
if [ ! -f ${ret_val_file} ]; then
6
echo "Return value not found!"
7
exit -1
8
fi
9
10
ret_val=`cat ${ret_val_file}`
11
12
exit ${ret_val}