aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-11-27 21:30:28 +0000
committerDominik Stadler <centic@apache.org>2016-11-27 21:30:28 +0000
commit2e2cdf67e097e3464c59a43a4f359b1e60b88f7f (patch)
tree44394fb7f50548b6f8ccda1c6a89e4a2e5793a03 /jenkins
parent0375ceb955977266e3b4d3e4ff5eb077d8c13bb7 (diff)
downloadpoi-2e2cdf67e097e3464c59a43a4f359b1e60b88f7f.tar.gz
poi-2e2cdf67e097e3464c59a43a4f359b1e60b88f7f.zip
Adjust some more to make the DSL-test-Job set up exactly like the current 'POI' job
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771651 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy13
1 files changed, 8 insertions, 5 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 313b299941..3f2ab9eb74 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -17,7 +17,10 @@ job('POI-DSL-Test') {
' <b><a href="https://analysis.apache.org/dashboard/index/221489" target="_blank">Sonar reports</a></b> -\n' +
' <b><a href="lastSuccessfulBuild/artifact/build/coverage/index.html" target="_blank">Coverage of latest build</a></b>\n' +
'</p>\n')
- logRotator(numToKeep = 5, artifactNumToKeep = 1)
+ logRotator {
+ numToKeep(5)
+ artifactNumToKeep(1)
+ }
label('ubuntu&&!cloud-slave')
environmentVariables {
env('LANG', 'en_US.UTF-8')
@@ -29,7 +32,7 @@ job('POI-DSL-Test') {
writeDescription('Build was aborted due to timeout')
}
}
- jdk('JDK 1.6 (latest')
+ jdk('JDK 1.6 (latest)')
scm {
svn(svnBase) { svnNode ->
svnNode / browser(class: 'hudson.scm.browsers.ViewSVN') /
@@ -51,7 +54,6 @@ job('POI-DSL-Test') {
antInstallation('Ant (latest)')
}
ant {
- prop('logging', 'info')
buildFile('src/integrationtest/build.xml')
antInstallation('Ant (latest)')
}
@@ -63,12 +65,10 @@ job('POI-DSL-Test') {
defaultEncoding('UTF-8')
}
archiveArtifacts('build/dist/*.tar.gz,build/findbugs.html,build/coverage/**,build/integration-test-results/**,ooxml-lib/**')
- archiveJunit('**/target/surefire-reports/*.xml')
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
resolveRelativePaths()
}
archiveJunit('build/ooxml-test-results/*.xml,build/scratchpad-test-results/*.xml,build/test-results/*.xml,build/excelant-test-results/*.xml,build/integration-test-results/*.xml') {
- allowEmptyResults()
testDataPublishers {
publishTestStabilityData()
}
@@ -79,6 +79,9 @@ job('POI-DSL-Test') {
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')
}
+ configure { project ->
+ project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
+ }
mailer('dev@poi.apache.org', false, false)
}
}