summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2018-03-19 08:43:59 +0000
committerCédric Ollivier <cedric.ollivier@orange.com>2018-03-19 11:34:07 +0100
commit09d0a1f22abe00a9708237b710718830e1e84f4e (patch)
treef9b7d3a22cd15c73c7e45b6f97ea5c3abc861f9f
parent6f6cf24f53add8df9cd976da3ba211ab564814fd (diff)
Create an initial file for return value
Change-Id: I7c19dbe853124272bbf7203ab2778b616c847048 Signed-off-by: Linda Wang <wangwulin@huawei.com>
-rwxr-xr-xjjb/functest/functest-k8.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jjb/functest/functest-k8.sh b/jjb/functest/functest-k8.sh
index 75bed7a4d..e331f4448 100755
--- a/jjb/functest/functest-k8.sh
+++ b/jjb/functest/functest-k8.sh
@@ -56,6 +56,9 @@ cmd="docker run --rm --privileged=true ${envs} ${volumes} ${FUNCTEST_IMAGE} /bin
echo "Running Functest k8s test cases, CMD: ${cmd}"
eval ${cmd}
ret_value=$?
+
+ret_val_file="${HOME}/opnfv/functest/results/${BRANCH##*/}/return_value"
+echo 0 > ${ret_val_file}
if [ ${ret_value} != 0 ]; then
echo ${ret_value} > ${ret_val_file}
fi