Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

bamboo is unable to parse junit xml file

Subu baskaran August 30, 2016

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

0 votes
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 31, 2016

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 ?

0 votes
Mark de Bont
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 31, 2016

Try

ST-ST-STC/**/*.xml

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events