You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by vl...@apache.org on 2019/08/03 14:41:24 UTC

[jmeter] 01/02: Allow to skip SpotBugs failures via -PignoreSpotBugsFailures

This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git

commit 431de02c258516318038611b298cc1e5e5b6b3d0
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Sat Aug 3 17:38:52 2019 +0300

    Allow to skip SpotBugs failures via -PignoreSpotBugsFailures
---
 build.gradle.kts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/build.gradle.kts b/build.gradle.kts
index 2978c1a..1d82fcd 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -140,6 +140,10 @@ val enableSpotBugs by extra {
     boolProp("spotbugs") ?: false
 }
 
+val ignoreSpotBugsFailures by extra {
+    boolProp("ignoreSpotBugsFailures") ?: false
+}
+
 val skipCheckstyle by extra {
     boolProp("skipCheckstyle") ?: false
 }
@@ -203,6 +207,7 @@ allprojects {
 
         spotbugs {
             toolVersion = "spotbugs".v
+            isIgnoreFailures = ignoreSpotBugsFailures
         }
     }