From ed8dc50a9e890fafdbb68b101e210051e9e43a42 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Thu, 8 Dec 2016 09:36:57 +0000 Subject: [PATCH] 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 --- jenkins/create_jobs.groovy | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 92cb6f107..501694a02 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -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)