aboutsummaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorDominik Stadler <centic@apache.org>2016-12-03 19:50:28 +0000
committerDominik Stadler <centic@apache.org>2016-12-03 19:50:28 +0000
commita3c6d2a2dde0e62e1b68cee6d640fc64766779f8 (patch)
tree4e1595bc0090086be01f465a8e20d18f26abda2d /jenkins
parentb988f251ad45d24ba138d32304d0f515d262ca4d (diff)
downloadpoi-a3c6d2a2dde0e62e1b68cee6d640fc64766779f8.tar.gz
poi-a3c6d2a2dde0e62e1b68cee6d640fc64766779f8.zip
Adjust Jenkins APICheck description
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772483 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy19
1 files changed, 17 insertions, 2 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index 910a97c6c8..9779aa7ba4 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -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 Documents
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)