]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13912 OWASP notifications on failure only
authorMalena Ebert <63863184+malena-ebert-sonarsource@users.noreply.github.com>
Tue, 13 Oct 2020 07:51:55 +0000 (09:51 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 13 Oct 2020 20:08:03 +0000 (20:08 +0000)
.cirrus.yml

index 6f0669a507699bd1e9e2de842742a91372e8350c..5b5588fb7098a11469e6eb9cfad7fe48f8d7a678 100644 (file)
@@ -400,8 +400,9 @@ owasp_check_task:
     reupload_on_changes: true
   script:
     - gradle dependencyCheckAggregate
-  always:
+  on_failure:
     slack_notification_script:
       - ./private/cirrus/cirrus-owasp-notification.sh
+  always:
     reports_artifacts:
       path: "build/reports/*"