From: Michal Nowak Date: Wed, 12 Feb 2020 14:47:52 +0000 (+0000) Subject: Run Coverity Scan only when specific variables are present X-Git-Tag: v9.16.0~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b833064648fcc19f991745a518ed635b0d50b3a5;p=thirdparty%2Fbind9.git Run Coverity Scan only when specific variables are present Submissions to Coverity Scan should be limited to those originated from release branches and only from a specific schedule which holds COVERITY_SCAN_PROJECT_NAME and COVERITY_SCAN_TOKEN variables. (cherry picked from commit 48530aa21395414b0f9788ea5ab158b2b09ab977) --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8844bbd00f7..3e980c8949a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1243,8 +1243,9 @@ build:coverity:sid:amd64: expire_in: "1 week" when: on_failure only: - - schedules - - web + variables: + - $COVERITY_SCAN_PROJECT_NAME + - $COVERITY_SCAN_TOKEN cache: key: cov-analysis-linux64-2019.03 paths: