[doctor] archive functest log file regardless result 15/29615/1
authorRyota MIBU <r-mibu@cq.jp.nec.com>
Thu, 2 Mar 2017 07:52:47 +0000 (07:52 +0000)
committerRyota MIBU <r-mibu@cq.jp.nec.com>
Thu, 2 Mar 2017 07:52:47 +0000 (07:52 +0000)
Change-Id: I5c61b1773bbc4913f23bf5e458e4e94c29bd29ef
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
jjb/doctor/doctor.yml

index 28888d6..2267a28 100644 (file)
         - 'functest-suite-builder'
         - shell: |
             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:
             artifacts: 'tests/*.log'
+        - archive:
+            artifacts: '$HOME/opnfv/functest/results/{stream}/{project}.log'
 
 
 #####################################