diff options
author | Dominik Stadler <centic@apache.org> | 2016-12-09 07:56:47 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2016-12-09 07:56:47 +0000 |
commit | 5e7d960a359a0145c2a6b8971fbd8c5bd43e2fe8 (patch) | |
tree | 836c187523130f0e95d4fc7a8d13589bc2a362f0 /jenkins/create_jobs.groovy | |
parent | 49fc21b8129bb4310d4cbe20888c9e47cfda04d0 (diff) | |
download | poi-5e7d960a359a0145c2a6b8971fbd8c5bd43e2fe8.tar.gz poi-5e7d960a359a0145c2a6b8971fbd8c5bd43e2fe8.zip |
Jenkins DSL: Adjust comment why IBM JDK is not enabled and use addShell for Gradle-build as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773329 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins/create_jobs.groovy')
-rw-r--r-- | jenkins/create_jobs.groovy | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 501694a025..09a3cbd605 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -30,8 +30,9 @@ def poijobs = [ properties: ['-Dmaxpermsize=-Dthis.is.a.dummy=true', '-Djava9addmods=--add-modules=java.xml.bind', '-Djava9addmodsvalue=-Dsun.reflect.debugModuleAccessChecks=true', '-Djava.locale.providers=JRE,CLDR'], email: 'centic@apache.org', skipcigame: true ], - // This config was not enabled in Jenkins ever because we did not find the JDK on any of the slaves, we can check this again later - [ name: 'POI-DSL-IBM-JDK', jdks: ['IBMJDK'], trigger: triggerSundays, noScratchpad: true, disabled: true, skipcigame: true + [ name: 'POI-DSL-IBM-JDK', jdks: ['IBMJDK'], trigger: triggerSundays, noScratchpad: true, + // some OOXML tests fail with strange XML parsing errors and missing JCE unlimited strength requirements + disabled: true, skipcigame: true ], [ name: 'POI-DSL-old-Xerces', jdks: ['1.6'], trigger: triggerSundays, shell: 'mkdir -p compile-lib && test -f compile-lib/xercesImpl-2.6.1.jar || wget -O compile-lib/xercesImpl-2.6.1.jar http://repo1.maven.org/maven2/xerces/xercesImpl/2.6.1/xercesImpl-2.6.1.jar\n', @@ -44,7 +45,9 @@ def poijobs = [ ], [ name: 'POI-DSL-API-Check', jdks: ['1.7'], trigger: '@daily', apicheck: true ], - [ name: 'POI-DSL-Gradle', jdks: ['1.7'], trigger: triggerSundays, email: 'centic@apache.org', gradle: true + [ name: 'POI-DSL-Gradle', jdks: ['1.7'], trigger: triggerSundays, email: 'centic@apache.org', gradle: true, + // Gradle will not run any tests if the code is up-to-date, therefore manually mark the files as updated + addShell: 'touch --no-create build/*/build/test-results/test/TEST-*.xml' ], [ name: 'POI-DSL-no-scratchpad', trigger: triggerSundays, noScratchpad: true ], @@ -220,10 +223,11 @@ Apache POI - the Java API for Microsoft Documents } else { steps { shell(shellcmds) + if(poijob.addShell) { + shell(poijob.addShell) + } // For Jobs that should still have the default set of publishers we can configure different steps here if(poijob.gradle) { - // Gradle will not run any tests if the code is up-to-date, therefore manually mark the files as updated - shell("touch --no-create build/*/build/test-results/test/TEST-*.xml") gradle { tasks('check') useWrapper(false) @@ -239,9 +243,6 @@ Apache POI - the Java API for Microsoft Documents antInstallation(defaultAnt) } } else { - if(poijob.addShell) { - shell(poijob.addShell) - } ant { targets(['clean', 'jenkins'] + (poijob.properties ?: [])) prop('coverage.enabled', true) |