fix the log name of functest result for doctor project 65/37965/4
authordongwenjuan <dong.wenjuan@zte.com.cn>
Mon, 24 Jul 2017 02:26:46 +0000 (10:26 +0800)
committerwenjuan dong <dong.wenjuan@zte.com.cn>
Mon, 24 Jul 2017 12:55:11 +0000 (12:55 +0000)
Change-Id: I356036cad510e4fe5550505d46dbf1aea3b11496
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
jjb/doctor/doctor.yml

index 5bb8f74..c6b2cb6 100644 (file)
             wget https://git.opnfv.org/functest/plain/functest/ci/download_images.sh -O functest/ci/download_images.sh
         - 'functest-suite-builder'
         - shell: |
-            functest_log="$HOME/opnfv/functest/results/{stream}/{project}.log"
+            functest_log="$HOME/opnfv/functest/results/{stream}/$FUNCTEST_SUITE_NAME.log"
             # 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
         - archive:
             artifacts: 'tests/*.log'
         - archive:
-            artifacts: 'functest_results/{project}.log'
+            artifacts: 'functest_results/$FUNCTEST_SUITE_NAME.log'
 
 
 #####################################