]> granicus.if.org Git - esp-idf/commitdiff
CI: fix merge error on test report job
authorHe Yin Ling <heyinling@espressif.com>
Thu, 19 Jan 2017 15:37:12 +0000 (23:37 +0800)
committerHe Yin Ling <heyinling@espressif.com>
Thu, 19 Jan 2017 15:37:12 +0000 (23:37 +0800)
the variable used to save report result is changed by merge error

.gitlab-ci.yml

index 1e330320e7db7483e3821ef6432b5c568e4284f5..9814a652bed991ca38ab8d51d56ed59d6a5a624e 100644 (file)
@@ -184,7 +184,8 @@ test_report:
     - git clone $GITLAB_SSH_SERVER/yinling/auto_test_script.git
     - cd auto_test_script
     # generate report
-    - python CITestReport.py -l $LOG_PATH -t $TEST_CASE_FILE_PATH -p $REPORT_PATH -r $RESULT_PATH -a $ARTIFACTS_PATH -m $MODULE_UPDATE_FILE || FAIL=True
+    - TEST_RESULT=Pass
+    - python CITestReport.py -l $LOG_PATH -t $TEST_CASE_FILE_PATH -p $REPORT_PATH -r $RESULT_PATH -a $ARTIFACTS_PATH -m $MODULE_UPDATE_FILE || TEST_RESULT=Fail
     # commit to CI-test-result project
     - git clone $GITLAB_SSH_SERVER/qa/CI-test-result.git
     - rm -rf CI-test-result/RawData/$RESULT_PATH