Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show HTML artifacts in bamboo without downloading

Tags:

bamboo

I've successfully created a small demo HTML report of test results from a build. Simply put, I'm doing numerical computations, and would like to give more detailed information on test results than a binary pass/fail. The HTML report consists of multiple HTML files with relative links between them.

However, linking to one file from the other sometimes leads to the file being opened in the browser, and sometimes a "download file" dialog opens. Any ideas what the rules are, so I can look at the whole report in-browser without resorting to downloading a zip file of the whole report, unzipping, etc etc?

like image 280
pletnes Avatar asked Oct 26 '15 12:10

pletnes


People also ask

What are artifacts in bamboo?

An artifact is defined in Bamboo by the use of an Ant Copy Pattern and a location relative to the top of the build directory. Many approaches can be used to select files to be included as an artifact so there are bound to be many ways to do this.


1 Answers

Just a quick note here, if anyone should need it - as this was where I ended up in my search.

After upgrading our Bamboo to 6.8.1 build 60805 our code coverage artifacts started downloading, instead of being displayed inline.

This can be fixed by setting the Security and permission setting Allow artifacts to be embedded in Bamboo pages.

Be aware of the note about Cross-Site-Scripting vulnerabilities if enabled.

like image 97
ankhansen Avatar answered Sep 20 '22 01:09

ankhansen