How does one display Bamboo artifact files with filenames ending in ".xml" as plain text?

Michael Aramini March 26, 2019

How does one display Bamboo artifact files with filenames ending in ".xml" as plain text?

1 answer

1 accepted

0 votes
Answer accepted
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 27, 2019

Do you want Bamboo to return artifact with .xml extension as text/plain or you don't want it?

Depending on your answer there're different steps

Michael Aramini March 27, 2019

I'd like Bamboo to return these artifacts as text/plain.

(Despite the .xml extension, these particular artifacts contain a mixture and of XML and non-XML text.  Bamboo currently treating them as just XML results in an XML Parsing Error being displayed instead of the content of the file.)

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 28, 2019

Then you need to edit mimetypes.xml file at $BAMBOO_INSTALLATION/atlassian-bamboo/WEB-INF

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events