Link custom HTML reports with Bamboo builds

JIRA Autobot
Contributor
July 4, 2012

Hi,

I have a tool which produces an HTML report when builds, can i attach that somehow so i can access it easy from an bamboo build ? What i need is an way to create an link in bamboo to my Custom Report.

Jenkins has this feature called HTML Publisher (https://wiki.jenkins-ci.org/display/JENKINS/HTML+Publisher+Plugin) and i am looking for exactly same thing. Is this possible ?

/donnib

3 answers

5 votes
PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 5, 2012

Maybe capturing the produced HTML reports as Bamboo Artifacts would be sufficient for your needs? Do you know what am I talking about, or should I find relevant documentation?

JIRA Autobot
Contributor
July 5, 2012

I know what artifacts are but then how do i link to the reports on the build for instance i would like to go to an specific build and have a link to the report.

I guess you are thinking about something like this : https://confluence.atlassian.com/display/BAMBOO/Configuring+a+Job's+Build+Artifacts ?

PiotrA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 5, 2012

Yep, that's what I was thinking about.

I think if you configure the Job that produces the HTML report to capture the report file as a 'shared' artifact, then you will be able to access that HTML report via link similar to:

http://mybamboo.company.com:8085/bamboo/browse/PROJ-PLAN-1077/artifact/shared/ARTIFACT_NAME/report_file.html

something like this - you'd have to experiment a bit with artifact feature - I'm not very experienced in that area.

Unless I misunderstood you and you wanted to see the HTML report *inlined* in the build summary page...

Matthew Casperson September 21, 2014

+1 for inlining reports. I have noticed that a lot of bamboo plugins for tools like PMD, findbugs etc are not kept up to date. An alternative is to have a tool like Gradle generate the reports, have Bamboo capture the reports as artefacts, and then embed or link to the reports in the build summary page.

4 votes
Deleted user April 18, 2017

I have the same problem : I have a custom task that generates HTML, and I want to display it inline in the build result summary tabs. I was able to make a link to the artifact in the tabs, but not to display it inline.

Capture d’écran 2017-04-18 à 15.23.15.png

for example when I click the link "resultat style", it opens a new tab.

Does anyone knows a workaround ?

4 votes
Brennon Obst
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2015

Artifacts are a good work around, but did anyone actually make a results tab that can show a generated html, im trying to integrate brakeman into Bamboo. It generates an html or json but I am thinking we really need a transform into Junit for this to be read by Bamboo. A custom HTML display is part way there, but really what if you want to know what failed? The reports are only meaningful if they are in the right format I think, so its got to be transformed from that HTML into JUNIT.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events