diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-10-28 20:44:08 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-10-28 20:44:08 +0000 |
commit | 905e58b48ad8755e1fb89373cd42935dbdd2e7a1 (patch) | |
tree | 1474839707bb9c4bbf22be0c36dc5c65ec1e791c /jenkins | |
parent | 387063342564bf5cd7d222722f496fc04bce92c3 (diff) | |
download | poi-905e58b48ad8755e1fb89373cd42935dbdd2e7a1.tar.gz poi-905e58b48ad8755e1fb89373cd42935dbdd2e7a1.zip |
try to disable spotbugs for latest JDKs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904906 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r-- | jenkins/create_jobs.groovy | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index ff1356305e..866e99a1a2 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -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') + } } } } |