From: helenyao Date: Thu, 1 Jun 2017 04:05:14 +0000 (+0800) Subject: [Functest] Fix the issue that no return_value exists X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F35625%2F2;p=releng.git [Functest] Fix the issue that no return_value exists Save the execution return code to file before exiting Change-Id: I73692754b4c4c4b584d5918db7ce446bad931920 Signed-off-by: helenyao --- diff --git a/jjb/functest/functest-suite.sh b/jjb/functest/functest-suite.sh index 228cc3da4..5d1ed28f5 100755 --- a/jjb/functest/functest-suite.sh +++ b/jjb/functest/functest-suite.sh @@ -15,4 +15,7 @@ for test in ${tests[@]}; do let global_ret_val+=$? done -exit $global_ret_val +ret_val_file="${HOME}/opnfv/functest/results/${BRANCH##*/}/return_value" +echo ${global_ret_val}>${ret_val_file} + +exit 0