From: Andreas Beeker Date: Sat, 15 Aug 2020 17:09:04 +0000 (+0000) Subject: try to fix spot bugs setting on new ci-builds jenkins X-Git-Tag: before_ooxml_3rd_edition~147 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=393301b8b5495873639d03a55ac3ba6edf5ad513;p=poi.git try to fix spot bugs setting on new ci-builds jenkins git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1880882 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index c3d008e072..11f136af05 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -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')