From 09d0a1f22abe00a9708237b710718830e1e84f4e Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Mon, 19 Mar 2018 08:43:59 +0000 Subject: Create an initial file for return value Change-Id: I7c19dbe853124272bbf7203ab2778b616c847048 Signed-off-by: Linda Wang --- jjb/functest/functest-k8.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit 1.2.3-korg