Code Review
/
releng.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Add call to run shellcheck
[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}