try to disable spotbugs for latest JDKs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904906 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-10-28 20:44:08 +00:00
parent 3870633425
commit 905e58b48a
1 changed files with 11 additions and 8 deletions

View File

@ -49,10 +49,11 @@ def poijobs = [
],
[ name: 'POI-DSL-1.17', jdk: '1.17', trigger: 'H */12 * * *', skipcigame: true
],
[ name: 'POI-DSL-1.18', jdk: '1.18', trigger: triggerSundays, skipcigame: true
// Jenkins on ci-builds.apache.org does not support spotbugs with a new enough version of asm for Java18+
[ name: 'POI-DSL-1.18', jdk: '1.18', trigger: triggerSundays, skipcigame: true, skipSpotbugs: true
],
// Use Ant build for as Gradle 7.5 does not support Java 19 yet (change to gradle: true when we have Gradle support)
[ name: 'POI-DSL-1.19', jdk: '1.19', trigger: triggerSundays, skipcigame: true, useAnt: true
// Jenkins on ci-builds.apache.org does not support spotbugs with a new enough version of asm for Java18+
[ name: 'POI-DSL-1.19', jdk: '1.19', trigger: triggerSundays, skipcigame: true, skipSpotbugs: true
],
// Use Ant-build for now as selecting IBM JDK via toolchain does not work (yet)
[ name: 'POI-DSL-IBM-JDK', jdk: 'IBMJDK', trigger: triggerSundays, skipcigame: true, useAnt: true
@ -468,11 +469,13 @@ poijobs.each { poijob ->
}
}
publishers {
recordIssues {
tools {
spotBugs {
pattern('*/build/reports/spotbugs/*.xml')
reportEncoding('UTF-8')
if (!poijob.skipSpotbugs) {
recordIssues {
tools {
spotBugs {
pattern('*/build/reports/spotbugs/*.xml')
reportEncoding('UTF-8')
}
}
}
}