From d520b11b59dda6bed44a902035b213b438e76721 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 92cb6f1079..501694a025 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) -- 2.39.5