bamboo is unable to parse junit xml file

This question is in reference to Atlassian Documentation: JUnit Parser

Bamboo version 5.12.3.1 build 51215 - 04 Jul 16.

My test automation tool generates the junit xml output in the working directory of the bamboo job. I used the touch command on the output file as a task and the task # 3 to parse the output.

Task #1 - run the automated tests

Task #2 - touch command for the output files(one .xml file) - the actual touch command i used - 

touch -am chrome52.xml

Task #3 - junit parser with the pattern - */ST-ST-STC/.xml. ST-ST-STC is within

<bamboo home>/xml-data/build-dir/

 

Any pointer is much appreciated.

2 answers

Try

ST-ST-STC/**/*.xml
0 votes

Pattern that you specify for JUnit Parser task is relative to job working directory. You can just simply use chrome52.xml as a pattern. 

My other question is: why do you need to touch that XML file in task #2 ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

How do your teams prepare for really high (planned) traffic days like Cyber Monday?

Hi there! Shannon from Statuspage here.  👋  With Cyber Monday quickly approaching, we're looking to hear from Atlassian customers – specifically from teams who touch incident response li...

61 views 0 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you