From 478017e3670939967e3c597b54a5311fb099521c Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Mon, 31 Aug 2020 14:55:12 +0800 Subject: [PATCH] clean up the detached pipeline --- tools/ci/config/build.yml | 6 +++--- tools/ci/config/pre_check.yml | 5 ----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tools/ci/config/build.yml b/tools/ci/config/build.yml index de2d1d9045..a579a977a3 100644 --- a/tools/ci/config/build.yml +++ b/tools/ci/config/build.yml @@ -444,11 +444,11 @@ build_template_app: code_quality_check: extends: .sonar_scan_template dependencies: - - clang_tidy_check_regular_for_MR_review + - clang_tidy_check_regular only: - - merge_requests + - triggers script: - - sonar-scanner -X + - sonar-scanner -Dsonar.analysis.mode=preview -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN diff --git a/tools/ci/config/pre_check.yml b/tools/ci/config/pre_check.yml index c13b1f9935..986efaba90 100644 --- a/tools/ci/config/pre_check.yml +++ b/tools/ci/config/pre_check.yml @@ -197,11 +197,6 @@ clang_tidy_check: clang_tidy_check_regular: extends: .clang_tidy_check_template -clang_tidy_check_regular_for_MR_review: - extends: .clang_tidy_check_template - only: - - merge_requests - clang_tidy_check_all: extends: .clang_tidy_check_template variables: