def defaultEmail = 'dev@poi.apache.org'
def defaultAnt = 'Ant 1.9 (Latest)'
def defaultAntWindows = 'Ant 1.9 (Latest Windows)'
+def defaultMaven = 'maven-3.2.1'
// currently a lot of H?? slaves don't have Ant installed ... H21 seems to have a SVN problem
// H35 fails with ImageIO create cache file errors, although the java.io.tmpdir is writable
def defaultSlaves = '(ubuntu)&&!beam&&!cloud-slave&&!H15&&!H17&&!H18&&!H24&&!ubuntu-4&&!H21&&!H35'
goals('clean')
rootPOM('sonar/pom.xml')
localRepository(LocalRepositoryLocation.LOCAL_TO_WORKSPACE)
- mavenInstallation('maven-3.2.1')
+ mavenInstallation(defaultMaven)
}
/* Currently not done, let's see if it is still necessary:
# Maven-Download fails for strange reasons, try to workaround...
mavenOpts('-Xms256m')
mavenOpts('-XX:-OmitStackTraceInFastThrow')
localRepository(LocalRepositoryLocation.LOCAL_TO_WORKSPACE)
- mavenInstallation('maven-3.2.1')
+ mavenInstallation(defaultMaven)
}
}
publishers {
'OpenJDK 8 (on Ubuntu only) ', // blank is required here until the name in the Jenkins instance is fixed!
'IBM 1.8 64-bit (on Ubuntu only)',
- 'JDK 10 (latest)',
-
'JDK 11 (latest)',
'JDK 12 (latest)',
- 'JDK 13 (latest)'
+ 'JDK 13 (latest)',
+
+ 'JDK 14 (latest)'
)
elasticAxis {
name('Nodes')
antInstallation(defaultAnt)
}
+ shell(
+ '''which mvn || true
+mvn -version
+echo '<project><modelVersion>4.0.0</modelVersion><groupId>org.apache.poi</groupId><artifactId>build-tst</artifactId><version>1.0.0</version></project> > pom.xml
+''')
+ maven {
+ goals('package')
+ mavenInstallation(defaultMaven)
+ }
}
}
}