Enable Job for API-Check

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772341 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2016-12-02 12:52:05 +00:00
parent 74ab8da0fd
commit fda7104fd2

View File

@ -19,10 +19,10 @@ def poijobs = [
], ],
[ name: 'POI-DSL-1.9', jdks: ['1.9'], trigger: triggerSundays, [ name: 'POI-DSL-1.9', jdks: ['1.9'], trigger: triggerSundays,
properties: ['-Dmaxpermsize=-Dthis.is.a.dummy=true', '-Djava9addmods=-addmods', '-Djava9addmodsvalue=java.xml.bind', '-Djava.locale.providers=JRE,CLDR'], properties: ['-Dmaxpermsize=-Dthis.is.a.dummy=true', '-Djava9addmods=-addmods', '-Djava9addmodsvalue=java.xml.bind', '-Djava.locale.providers=JRE,CLDR'],
email: 'centic@apache.org', disabled: true email: 'centic@apache.org', disabled: true, 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 // 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 [ name: 'POI-DSL-IBM-JDK', jdks: ['IBMJDK'], trigger: triggerSundays, noScratchpad: true, disabled: true, skipcigame: true
], ],
[ name: 'POI-DSL-old-Xerces', jdks: ['1.6'], trigger: triggerSundays, [ 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', 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',
@ -33,7 +33,7 @@ def poijobs = [
], ],
[ name: 'POI-DSL-regenerate-javadoc', trigger: triggerSundays, javadoc: true, disabled: true [ name: 'POI-DSL-regenerate-javadoc', trigger: triggerSundays, javadoc: true, disabled: true
], ],
[ name: 'POI-DSL-API-Check', jdks: ['1.7'], trigger: '@daily', apicheck: true, disabled: true [ 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, disabled: true [ name: 'POI-DSL-Gradle', jdks: ['1.7'], trigger: triggerSundays, email: 'centic@apache.org', gradle: true, disabled: true
], ],
@ -147,9 +147,11 @@ Apache POI - the Java API for Microsoft Documents
} }
} }
publishers { publishers {
if (!poijob.skipcigame) {
configure { project -> configure { project ->
project / publishers << 'hudson.plugins.cigame.GamePublisher' {} project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
} }
}
mailer(email, false, false) mailer(email, false, false)
} }
} else if (poijob.javadoc) { } else if (poijob.javadoc) {
@ -165,9 +167,11 @@ Apache POI - the Java API for Microsoft Documents
shell('zip -r build/javadocs.zip build/tmp/site/build/site/apidocs') shell('zip -r build/javadocs.zip build/tmp/site/build/site/apidocs')
} }
publishers { publishers {
if (!poijob.skipcigame) {
configure { project -> configure { project ->
project / publishers << 'hudson.plugins.cigame.GamePublisher' {} project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
} }
}
mailer(email, false, false) mailer(email, false, false)
} }
} else if (poijob.apicheck) { } else if (poijob.apicheck) {
@ -180,9 +184,11 @@ Apache POI - the Java API for Microsoft Documents
} }
publishers { publishers {
archiveArtifacts('build/*/build/reports/japi.html') archiveArtifacts('build/*/build/reports/japi.html')
if (!poijob.skipcigame) {
configure { project -> configure { project ->
project / publishers << 'hudson.plugins.cigame.GamePublisher' {} project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
} }
}
mailer(email, false, false) mailer(email, false, false)
} }
} else { } else {
@ -242,9 +248,12 @@ Apache POI - the Java API for Microsoft Documents
sourcePattern('src/java,src/excelant/java,src/ooxml/java,src/scratchpad/src') 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') 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) {
configure { project -> configure { project ->
project / publishers << 'hudson.plugins.cigame.GamePublisher' {} project / publishers << 'hudson.plugins.cigame.GamePublisher' {}
} }
}
mailer(email, false, false) mailer(email, false, false)
} }
} }