Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-9179

Ability to allow bamboo to display html or xml results

    • Icon: Suggestion Suggestion
    • Resolution: Answered
    • None
    • Telemetry / Reporting
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Currently in Bamboo, if you run selenium html tests or Fitness tests, you get back an html result file. There is no way in Bamboo to display this - other than by saving it as an artifact and viewing the artifact.

      It would be nice if in Bamboo, like in CC.net and other CI servers (TeamCity,etc) you could configure Bamboo to use the result file in a tab so that results like this could be displayed much like jUnit results are currently displayed.

            [BAM-9179] Ability to allow bamboo to display html or xml results

            kishore D added a comment -

            Hi Team,

            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

            Thanks,

            Kishore D

            kishore D added a comment - Hi Team, 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 Thanks, Kishore D

            Hi @Alexey, thank you for the pointer. That makes sense. Inlining HTML itself can be source of security issues when not properly sanitized.

            Daniel Baktiar added a comment - Hi @Alexey, thank you for the pointer. That makes sense. Inlining HTML itself can be source of security issues when not properly sanitized.

            It's one of the security settings to avoid XSS.

            Ask your admin to check Administration > Security settings > Resolve artifacts content type by extension checkbox

            Alexey Chystoprudov added a comment - It's one of the security settings to avoid XSS. Ask your admin to check Administration > Security settings > Resolve artifacts content type by extension checkbox

            I agree with nathanael.maegli. Shared artifact does not help in terms of rendering the HTML content, as it will still display that as "text/plain".

            Daniel Baktiar added a comment - I agree with  nathanael.maegli . Shared artifact does not help in terms of rendering the HTML content, as it will still display that as "text/plain".

            We use Bamboo 6.1.0 build 60103 and HTML artifacts are displayed as plain test instead of html document. It seems Bamboo sends "Content-Type: text/plain" instead of "text/html". What can we do?

            Nathanaël Mägli added a comment - We use Bamboo 6.1.0 build 60103 and HTML artifacts are displayed as plain test instead of html document. It seems Bamboo sends "Content-Type: text/plain" instead of "text/html". What can we do?

            James Dumay added a comment - - edited

            Hi there,

            This is possible today if you store the HTML and XML results as a shared artifact.

            Artifacts that have a .html, .htm or .xml extension are automatically served as such from the Bamboo UI.

            Thanks
            James

            James Dumay added a comment - - edited Hi there, This is possible today if you store the HTML and XML results as a shared artifact . Artifacts that have a .html, .htm or .xml extension are automatically served as such from the Bamboo UI. Thanks James

              Unassigned Unassigned
              76d666fd1efd Bernard O'Flynn
              Votes:
              10 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: