Jenkins DSL: download findbugs manually because sourceforge now uses a SSL cihper that is not supported by JDK 6

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773205 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2016-12-08 09:36:57 +00:00
parent aeb22bab67
commit ed8dc50a9e
1 changed files with 7 additions and 1 deletions

View File

@ -11,7 +11,10 @@ H H * * 0
'''
def poijobs = [
[ name: 'POI-DSL-1.6', jdks: ['1.6']
[ name: 'POI-DSL-1.6', jdks: ['1.6'],
// workaround as Sourceforge does not accept any of the SSL ciphers in JDK 6 any more and thus we cannot download this jar
// as part of the Ant build
addShell: 'wget -O lib/findbugs-noUpdateChecks-2.0.3.zip http://downloads.sourceforge.net/project/findbugs/findbugs/2.0.3/findbugs-noUpdateChecks-2.0.3.zip?download='
],
[ name: 'POI-DSL-1.8', jdks: ['1.8'], trigger: 'H */12 * * *',
// ubuntu-4 repeatedely failed during Findbugs results collection
@ -236,6 +239,9 @@ 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)