]> source.dussan.org Git - poi.git/commitdiff
try to fix spot bugs setting on new ci-builds jenkins
authorAndreas Beeker <kiwiwings@apache.org>
Sat, 15 Aug 2020 17:09:04 +0000 (17:09 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sat, 15 Aug 2020 17:09:04 +0000 (17:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880882 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index c3d008e072c9c98ade6dd894a49789ae9b6dee3d..11f136af0588592de67d66e99eb03b579c1a8d72 100644 (file)
@@ -444,10 +444,13 @@ poijobs.each { poijob ->
                 }
             }
             publishers {
-                findbugs('build/findbugs.xml', false) {
-                    healthLimits(3, 20)
-                    thresholdLimit('low')
-                    defaultEncoding('UTF-8')
+                recordIssues {
+                    tools {
+                        spotbugs {
+                            pattern('build/findbugs.xml')
+                            reportEncoding('UTF-8')
+                        }
+                    }
                 }
                 // in archive, junit and jacoco publishers, matches beneath build/*/build/... are for Gradle-build results
                 archiveArtifacts('build/dist/*.tar.gz,build/findbugs.html,build/coverage/**,build/integration-test-results/**,lib/ooxml/**,build/*/build/libs/*.jar')