diff options
author | Ryota Mibu <r-mibu@cq.jp.nec.com> | 2016-12-12 03:30:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-12 03:30:17 +0000 |
commit | 023455ae688a605362967821b1e2655bc5ddeadd (patch) | |
tree | c8a9e6bc1e7e6b80447def277e867b1639397e12 | |
parent | 0cd71faff9baccc6448d8b4019ec8a5f8d8382df (diff) | |
parent | 676eeaeadb3cb8b5d60f00d566c6dfa28b750e84 (diff) |
Merge "doctor: adds test result check"
-rw-r--r-- | jjb/doctor/doctor.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/jjb/doctor/doctor.yml b/jjb/doctor/doctor.yml index 8a0d0155a..f9ee3de79 100644 --- a/jjb/doctor/doctor.yml +++ b/jjb/doctor/doctor.yml @@ -166,7 +166,12 @@ builders: - 'functest-suite-builder' - shell: | - cp $HOME/opnfv/functest/results/{stream}/{project}.log $WORKSPACE/tests/ + functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log" + to_be_archived="$WORKSPACE/tests/functest-{project}.log" + cp $functest_log $to_be_archived + # NOTE: checking the test result, as the previous job could return + # 0 regardless the result of doctor test scenario. + grep -e ' OK$' $functest_log || exit 1 publishers: - archive: |