From: Dominik Stadler Date: Thu, 8 Dec 2016 09:36:57 +0000 (+0000) Subject: Jenkins DSL: download findbugs manually because sourceforge now uses a SSL cihper... X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ed8dc50a9e890fafdbb68b101e210051e9e43a42;p=poi.git 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 --- 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)