aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2022-10-28 23:01:47 +0000
committerPJ Fanning <fanningpj@apache.org>2022-10-28 23:01:47 +0000
commit07f73d85be53a5b6148b3e001bf7368642b12a35 (patch)
treeda3d29f2c20de4a03f859ab6a361318e1f56570b /jenkins
parent905e58b48ad8755e1fb89373cd42935dbdd2e7a1 (diff)
downloadpoi-07f73d85be53a5b6148b3e001bf7368642b12a35.tar.gz
poi-07f73d85be53a5b6148b3e001bf7368642b12a35.zip
try to disable jacoco for latest JDKs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1904907 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy12
1 files changed, 7 insertions, 5 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 866e99a1a2..e0b62281d7 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -489,11 +489,13 @@ poijobs.each { poijob ->
publishTestStabilityData()
}
}
- jacocoCodeCoverage {
- classPattern('*/build/classes')
- execPattern('*/build/*.exec,*/build/jacoco/*.exec')
- sourcePattern('*/src/main/java')
- exclusionPattern('com/microsoft/**,org/openxmlformats/**,org/etsi/**,org/w3/**,schemaorg*/**,schemasMicrosoft*/**,org/apache/poi/hdf/model/hdftypes/definitions/*.class,org/apache/poi/hwpf/model/types/*.class,org/apache/poi/hssf/usermodel/DummyGraphics2d.class,org/apache/poi/sl/draw/binding/*.class')
+ if (!poijob.skipSpotbugs) {
+ jacocoCodeCoverage {
+ classPattern('*/build/classes')
+ execPattern('*/build/*.exec,*/build/jacoco/*.exec')
+ sourcePattern('*/src/main/java')
+ exclusionPattern('com/microsoft/**,org/openxmlformats/**,org/etsi/**,org/w3/**,schemaorg*/**,schemasMicrosoft*/**,org/apache/poi/hdf/model/hdftypes/definitions/*.class,org/apache/poi/hwpf/model/types/*.class,org/apache/poi/hssf/usermodel/DummyGraphics2d.class,org/apache/poi/sl/draw/binding/*.class')
+ }
}
if (!poijob.skipcigame) {