From 393301b8b5495873639d03a55ac3ba6edf5ad513 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Sat, 15 Aug 2020 17:09:04 +0000 Subject: [PATCH] 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 --- jenkins/create_jobs.groovy | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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') -- 2.39.5