stringParam('sha1', 'origin/pr/9/head', 'Provide a branch-spec, e.g. origin/pr/9/head')
}
triggers {
- /*githubPullRequest {
+ 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 {
'JDK 12 (latest)',
'OpenJDK 12 b18 (early access build)'
)
- /*elasticAxis {
+ elasticAxis {
name('Nodes')
labelString('!cloud-slave&&!H15&&!H17&&!H18&&!H24&&!ubuntu-4&&!H21&&!H35&&!websites1&&!couchdb&&!plc4x&&!ppc64le')
ignoreOffline(true)
- }*/
+ }
}
steps {
conditionalSteps {
fileExists('c:\\windows', BaseDir.WORKSPACE)
runner('DontRun')
steps {
- /*batchFile {
+ batchFile {
command(
'''@echo off
echo .
echo .
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
''')
- }*/
+ }
ant {
antInstallation(defaultAnt + ' (Windows)')
}