aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins/create_jobs.groovy
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-12-04 19:04:04 +0000
committerDominik Stadler <centic@apache.org>2016-12-04 19:04:04 +0000
commit89d2d177798bccdf13d7d33d08976349deb67181 (patch)
treeec9600edd70364ec3c965561bcf913a54a8ec5a1 /jenkins/create_jobs.groovy
parentf11481e4125fcfcfa6754658fc558e3472d63aa4 (diff)
downloadpoi-89d2d177798bccdf13d7d33d08976349deb67181.tar.gz
poi-89d2d177798bccdf13d7d33d08976349deb67181.zip
Jenkins Job DSL: Adjust patterns for code-coverage in the Gradle build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772564 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins/create_jobs.groovy')
-rw-r--r--jenkins/create_jobs.groovy5
1 files changed, 3 insertions, 2 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 41bc9fdf6d..e2e7de68b7 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -248,6 +248,7 @@ Apache POI - the Java API for Microsoft Documents
thresholdLimit('low')
defaultEncoding('UTF-8')
}
+ // in archive, junit and jacoco publishers, matches beneath build/*/build/... are for Gradle-build results
archiveArtifacts('build/dist/*.tar.gz,build/findbugs.html,build/coverage/**,build/integration-test-results/**,ooxml-lib/**,build/*/build/libs/*.jar')
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
resolveRelativePaths()
@@ -258,8 +259,8 @@ Apache POI - the Java API for Microsoft Documents
}
}
jacocoCodeCoverage {
- classPattern('build/classes,build/examples-classes,build/excelant-classes,build/ooxml-classes,build/scratchpad-classes')
- execPattern('build/*.exec')
+ classPattern('build/classes,build/examples-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')
}