mirror of
https://github.com/apache/poi.git
synced 2026-02-27 20:40:08 +08:00
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:
parent
3870633425
commit
905e58b48a
@ -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,6 +469,7 @@ poijobs.each { poijob ->
|
||||
}
|
||||
}
|
||||
publishers {
|
||||
if (!poijob.skipSpotbugs) {
|
||||
recordIssues {
|
||||
tools {
|
||||
spotBugs {
|
||||
@ -476,6 +478,7 @@ poijobs.each { poijob ->
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// in archive, junit and jacoco publishers, matches beneath build/*/build/... are for Gradle-build results
|
||||
archiveArtifacts('build/dist/*.zip,build/dist/*.tgz,build/dist/maven/*/*.jar,build/coverage/**,build/hs_err*.log')
|
||||
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user