From 610ce0bb985d66918218ae906cacf692f9f7065f Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 3 Dec 2016 19:50:28 +0000 Subject: [PATCH] Adjust Jenkins APICheck description git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772483 13f79535-47bb-0310-9956-ffa450edef68 --- jenkins/create_jobs.groovy | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 910a97c6c..9779aa7ba 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -68,7 +68,7 @@ poijobs.each { poijob -> disabled() } - description(''' + def defaultDesc = '''

Apache POI - the Java API for Microsoft Documents @@ -78,13 +78,28 @@ Apache POI - the Java API for Microsoft Documents Instead change the Jenkins Job DSL at http://svn.apache.org/repos/asf/poi/trunk/jenkins, see https://github.com/jenkinsci/job-dsl-plugin/wiki for more details about the DSL. +

''' + + description( defaultDesc + +(poijob.apicheck ? +''' +

+ Sonar reports - +

+ API Check POI + API Check POI-OOXML + API Check POI-Excelant + API Check POI-Scratchpad +

+''' : +'''

Findbugs report of latest build - Sonar reports - Coverage of latest build

-''') +''')) logRotator { numToKeep(5) artifactNumToKeep(1)