Create an initial file for return value 85/54085/4
authorLinda Wang <wangwulin@huawei.com>
Mon, 19 Mar 2018 08:43:59 +0000 (08:43 +0000)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 19 Mar 2018 10:34:07 +0000 (11:34 +0100)
Change-Id: I7c19dbe853124272bbf7203ab2778b616c847048
Signed-off-by: Linda Wang <wangwulin@huawei.com>
jjb/functest/functest-k8.sh

index 75bed7a..e331f44 100755 (executable)
@@ -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