From 1447cd4136f251099cec0fe60a98d1a9881e21fe Mon Sep 17 00:00:00 2001 From: Yinling Date: Fri, 30 Sep 2016 16:11:24 +0800 Subject: [PATCH] fix issue on test report job: 1. test report job should be put to deploy stage, otherwise it can't get logs from test stage 2. allow test fail so that test report job will be executed for failed test --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 775a13b476..ef28489077 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -89,12 +89,13 @@ test_build_system: - ./make/test_build_system.sh test_report: - stage: test + stage: deploy only: - master - triggers tags: - test_report + allow_failure: true variables: LOG_PATH: "$CI_PROJECT_DIR/$CI_BUILD_REF" TEST_CASE_FILE_PATH: "$CI_PROJECT_DIR/components/test" @@ -144,6 +145,7 @@ push_master_to_github: only: - master - triggers + allow_failure: true variables: # LOCAL_ENV_CONFIG_PATH: define in template and jobs can overwrite if required -- 2.40.0