poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1772483 - /poi/trunk/jenkins/create_jobs.groovy
Date Sat, 03 Dec 2016 19:50:29 GMT
Author: centic
Date: Sat Dec  3 19:50:28 2016
New Revision: 1772483

URL: http://svn.apache.org/viewvc?rev=1772483&view=rev
Log:
Adjust Jenkins APICheck description

Modified:
    poi/trunk/jenkins/create_jobs.groovy

Modified: poi/trunk/jenkins/create_jobs.groovy
URL: http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1772483&r1=1772482&r2=1772483&view=diff
==============================================================================
--- poi/trunk/jenkins/create_jobs.groovy (original)
+++ poi/trunk/jenkins/create_jobs.groovy Sat Dec  3 19:50:28 2016
@@ -68,7 +68,7 @@ poijobs.each { poijob ->
                 disabled()
             }
             
-            description('''
+            def defaultDesc = '''
 <img src="http://poi.apache.org/resources/images/project-logo.jpg" />
 <p>
 Apache POI - the Java API for Microsoft Documents
@@ -78,13 +78,28 @@ Apache POI - the Java API for Microsoft
     Instead change the Jenkins Job DSL at <a href="http://svn.apache.org/repos/asf/poi/trunk/jenkins">http://svn.apache.org/repos/asf/poi/trunk/jenkins</a>,
     see <a href="https://github.com/jenkinsci/job-dsl-plugin/wiki">https://github.com/jenkinsci/job-dsl-plugin/wiki</a>
     for more details about the DSL.</b>
+</p>'''
+
+            description( defaultDesc + 
+(poijob.apicheck ? 
+'''
+<p>
+    <b><a href="https://analysis.apache.org/dashboard/index/221489" target="_blank">Sonar
reports</a></b> -
+  <p>
+    <b><a href="lastSuccessfulBuild/artifact/build/main/build/reports/japi.html">API
Check POI</a></b>
+    <b><a href="lastSuccessfulBuild/artifact/build/ooxml/build/reports/japi.html">API
Check POI-OOXML</a></b>
+    <b><a href="lastSuccessfulBuild/artifact/build/excelant/build/reports/japi.html">API
Check POI-Excelant</a></b>
+    <b><a href="lastSuccessfulBuild/artifact/build/scratchpad/build/reports/japi.html">API
Check POI-Scratchpad</a></b>
+    
 </p>
+''' :
+'''
 <p>
     <b><a href="lastSuccessfulBuild/findbugsResult/" target="_blank">Findbugs
report of latest build</a></b> -
     <b><a href="https://analysis.apache.org/dashboard/index/221489" target="_blank">Sonar
reports</a></b> -
     <b><a href="lastSuccessfulBuild/artifact/build/coverage/index.html" target="_blank">Coverage
of latest build</a></b>
 </p>
-''')
+'''))
             logRotator {
                 numToKeep(5)
                 artifactNumToKeep(1)



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message