From: Michal Nowak Date: Wed, 12 Feb 2020 14:44:55 +0000 (+0000) Subject: Run Coverity Scan only when specific variables are present X-Git-Tag: v9.17.1~118^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eec29e34775c35ab3b50ef380a039e6f926484d4;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. --- 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: