diff options
author | Dominik Stadler <centic@apache.org> | 2016-12-31 09:43:13 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2016-12-31 09:43:13 +0000 |
commit | 70864c5a57842a0c56707d6416c8e8d9afdb1953 (patch) | |
tree | ce2d7f42d3627371288dfb5e356ee10a87cf5d91 /jenkins | |
parent | d3173873cc4e1ddd685c9e71b462c33d85689190 (diff) | |
download | poi-70864c5a57842a0c56707d6416c8e8d9afdb1953.tar.gz poi-70864c5a57842a0c56707d6416c8e8d9afdb1953.zip |
Coverage:
* Exclude "examples" from coverage in Jenkins, add some comments
* Fix warning in newer Gradle versions
* Adjust coverage-excludes in build.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776715 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r-- | jenkins/create_jobs.groovy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 9e688e5cf0..62a017ea75 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -67,7 +67,7 @@ def poijobs = [ def svnBase = 'https://svn.apache.org/repos/asf/poi/trunk' def defaultJdk = '1.6' -def defaultTrigger = 'H/15 * * * *' +def defaultTrigger = 'H/15 * * * *' // check SCM every 60/15 = 4 minutes def defaultEmail = 'dev@poi.apache.org' def defaultAnt = 'Ant (latest)' def defaultSlaves = 'ubuntu&&!cloud-slave' @@ -82,7 +82,6 @@ def jdkMapping = [ ] poijobs.each { poijob -> - def jdkKey = poijob.jdk ?: defaultJdk def trigger = poijob.trigger ?: defaultTrigger def email = poijob.email ?: defaultEmail @@ -133,6 +132,7 @@ for more details about the DSL.</b> environmentVariables { env('LANG', 'en_US.UTF-8') if(jdkKey == '1.9') { + // when using JDK 9 for running Ant, we need to provide more packages for the forbidden-api-checks task env('ANT_OPTS', '--add-modules=java.xml.bind') } } @@ -300,7 +300,7 @@ for more details about the DSL.</b> } } jacocoCodeCoverage { - classPattern('build/classes,build/examples-classes,build/excelant-classes,build/ooxml-classes,build/scratchpad-classes,build/*/build/classes') + classPattern('build/classes,build/excelant-classes,build/ooxml-classes,build/scratchpad-classes,build/*/build/classes') execPattern('build/*.exec,build/*/build/jacoco/*.exec') sourcePattern('src/java,src/excelant/java,src/ooxml/java,src/scratchpad/src') 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') |