diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-02-08 12:24:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-02-08 12:24:40 +0000 |
commit | 6bc1913f86975b388841a914188e80161841f3ce (patch) | |
tree | 29d5be05a752f22599d6dd5d4a78f475056222c3 /jjb | |
parent | cc49a731f97fa072196a9609d9e5e880bb2fc06c (diff) | |
parent | 36929cbbe427c6088b400ecfbefdb123a2622e24 (diff) |
Merge "[Functest] Add push-logs to functest-suite job"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/functest/functest-ci-jobs.yml | 2 | ||||
-rwxr-xr-x | jjb/functest/functest-suite.sh | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/jjb/functest/functest-ci-jobs.yml b/jjb/functest/functest-ci-jobs.yml index 7478e2a86..717404510 100644 --- a/jjb/functest/functest-ci-jobs.yml +++ b/jjb/functest/functest-ci-jobs.yml @@ -347,6 +347,8 @@ - 'functest-cleanup' - 'set-functest-env' - 'functest-suite' + - 'functest-store-results' + - 'functest-exit' - builder: name: functest-daily diff --git a/jjb/functest/functest-suite.sh b/jjb/functest/functest-suite.sh index 28d7e3d10..f28d3d037 100755 --- a/jjb/functest/functest-suite.sh +++ b/jjb/functest/functest-suite.sh @@ -13,5 +13,7 @@ container_id=$(docker ps -a | grep opnfv/functest | awk '{print $1}' | head -1) docker exec $container_id $cmd ret_value=$? +ret_val_file="${HOME}/opnfv/functest/results/${BRANCH##*/}/return_value" +echo ${ret_value}>${ret_val_file} -exit $ret_value +exit 0 |