From: Michal Nowak Date: Wed, 12 Feb 2020 14:58:10 +0000 (+0000) Subject: Run Coverity Scan only when specific variables are present X-Git-Tag: v9.14.11~2^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04a60beb2578b6e8627c9f20306ab036ce2905f4;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 5098d83f2b6..7e321eaa703 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1137,8 +1137,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: