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 vote

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,324 views 0 5
Read article

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