email: 'kiwiwings@apache.org'
],
[ name: 'POI-DSL-SonarQube-Gradle', trigger: 'H 9 * * *', gradle: true, sonar: true, skipcigame: true,
- disabled: true // this one does run, but does not actually send data to Sonarqube for some reason, we need to investigate some more
+ disabled: true // this one does run, but does not actually send data to Sonarqube for some reason, we need to investigate some more
],
[ name: 'POI-DSL-Windows-1.8', trigger: 'H */12 * * *', windows: true, slaves: 'Windows'
],
def xmlbeansjobs = [
[ name: 'POI-XMLBeans-DSL-1.6', jdk: '1.6', trigger: 'H */12 * * *', skipcigame: true,
- disabled: true // XMLBeans does not support Java 6 any more
+ disabled: true // XMLBeans does not support Java 6 any more
],
[ name: 'POI-XMLBeans-DSL-1.8', jdk: '1.8', trigger: 'H */12 * * *', skipcigame: true,
],
def slaves = poijob.slaves ?: defaultSlaves + (poijob.slaveAdd ?: '')
def antRT = poijob.windows ? defaultAntWindows : defaultAnt
- job(poijob.name) {
+ job('POI/' + poijob.name) {
if (poijob.disabled) {
disabled()
}
}
env('FORREST_HOME', poijob.windows ? 'f:\\jenkins\\tools\\forrest\\latest' : '/home/jenkins/tools/forrest/latest')
}
+
wrappers {
timeout {
absolute(180)
stringParam('sha1', 'origin/pr/9/head', 'Provide a branch-spec, e.g. origin/pr/9/head')
}
triggers {
- githubPullRequest {
+ pullRequestBuildTrigger()
+ /*githubPullRequest {
admins(['centic9', 'poi-benchmark', 'tballison', 'gagravarr', 'onealj', 'pjfanning', 'Alain-Bearez'])
userWhitelist(['centic9', 'poi-benchmark', 'tballison', 'gagravarr', 'onealj', 'pjfanning', 'Alain-Bearez'])
orgWhitelist(['apache'])
cron('H/5 * * * *')
triggerPhrase('OK to test')
- }
+ }*/
}
} else {
triggers {
publishers {
recordIssues {
tools {
- spotbugs {
+ spotBugs {
pattern('build/findbugs.xml')
reportEncoding('UTF-8')
}
mailer(email, false, false)
}
}
+
+
+ if (poijob.githubpr) {
+ configure {
+ it / 'properties' << 'com.cloudbees.jenkins.plugins.git.vmerge.JobPropertyImpl'(plugin: 'git-validated-merge') {
+ credentialsId('ASF_Cloudbees_Jenkins_ci-builds')
+ postBuildPushFailureHandler(class: 'com.cloudbees.jenkins.plugins.git.vmerge.pbph.PushFailureIsFailure')
+ }
+ }
+ }
}
}
def slaves = xjob.slaves ?: defaultSlaves + (xjob.slaveAdd ?: '')
def antRT = xjob.windows ? defaultAntWindows : defaultAnt
- job(xjob.name) {
+ job('POI/' + xjob.name) {
if (xjob.disabled) {
disabled()
}
all slaves that we would like to use and test if the java and ant binaries are available
on that machine correctly.
*/
-matrixJob('POI-DSL-Test-Environment') {
+matrixJob('POI/POI-DSL-Test-Environment') {
description(
-'''Check installed version of Java/Ant on all build-nodes
+ '''Check installed version of Java/Ant on all build-nodes
This job is used to verify which machines actually have the required programs installed.
'JDK 14 (latest)',
'JDK 15 (latest)'
)
- elasticAxis {
- name('Nodes')
- labelString('!cloud-slave&&!H15&&!H17&&!H18&&!H24&&!ubuntu-4&&!H21&&!H35&&!websites1&&!couchdb&&!plc4x&&!ppc64le')
- ignoreOffline(true)
- }
+ label('Nodes','H25','H29','H31','H34','H35','H36','H39','H42','H43','H44','H48','H50','lucene1','lucene2','master')
}
steps {
conditionalSteps {
runner('DontRun')
steps {
shell(
-'''which svn || true
+ '''which svn || true
which javac
javac -version
echo '<?xml version="1.0"?><project name="POI Build" default="test"><target name="test"><echo>Using Ant: ${ant.version} from ${ant.home}</echo></target></project>' > build.xml
steps {
batchFile {
command(
-'''@echo off
+ '''@echo off
echo .
where javac.exe
echo .
testStatisticsGrid()
buildStatistics()
}
-}*/
+}*/
\ No newline at end of file