diff options
author | Linda Wang <wangwulin@huawei.com> | 2018-03-19 08:43:59 +0000 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-03-19 11:34:07 +0100 |
commit | 09d0a1f22abe00a9708237b710718830e1e84f4e (patch) | |
tree | f9b7d3a22cd15c73c7e45b6f97ea5c3abc861f9f | |
parent | 6f6cf24f53add8df9cd976da3ba211ab564814fd (diff) |
Create an initial file for return value
Change-Id: I7c19dbe853124272bbf7203ab2778b616c847048
Signed-off-by: Linda Wang <wangwulin@huawei.com>
-rwxr-xr-x | jjb/functest/functest-k8.sh | 3 |
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 |