Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Stable Branching for availability project"
[releng.git]
/
jjb
/
functest
/
functest-exit.sh
diff --git
a/jjb/functest/functest-exit.sh
b/jjb/functest/functest-exit.sh
index
f2aa2d0
..
925a3cf
100644
(file)
--- a/
jjb/functest/functest-exit.sh
+++ b/
jjb/functest/functest-exit.sh
@@
-1,7
+1,6
@@
#!/bin/bash
#!/bin/bash
-branch=${GIT_BRANCH##*/}
-ret_val_file="${HOME}/opnfv/functest/results/${branch}/return_value"
+ret_val_file="${HOME}/opnfv/functest/results/${BRANCH##*/}/return_value"
if [ ! -f ${ret_val_file} ]; then
echo "Return value not found!"
exit -1
if [ ! -f ${ret_val_file} ]; then
echo "Return value not found!"
exit -1
@@
-9,4
+8,4
@@
fi
ret_val=`cat ${ret_val_file}`
ret_val=`cat ${ret_val_file}`
-exit ret_val
\ No newline at end of file
+exit ${ret_val}