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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JUnit XML schema

What is XML schema that JUnit parser in Bamboo uses?  It is mentioned in "JUnit parsing in Bamboo", however the link that is provided by that article is broken already.

Thanks.

1 answer

1 accepted

0 votes
Answer accepted
Jeremy Owen Atlassian Team Apr 11, 2018

Hey Anton,

Bamboo should be able to parse any valid JUnit results. If you want to get a better idea of the schema or validate the XML, here's an XSD you can use for reference:

We've also fixed the sample download links up on JUnit Parsing in Bamboo too. Just a note, they're identical to the XML that's already on the page.

Hope this helps. :)

Hi Jeremy,

Thanks a lot for a prompt response!

Yes, I did see the XSD from @windyroad.  Reason why I asked for it still was that if you try to validate the sample XMLs from the article against windyroad's XSD then they will fail (apparently that XSD is much more strict than de-facto implementation).

That's why I thought that perhaps Atlassian has some other, more up-to-date, version of the XSD.

Thank you.

Cheers,
Anton

Jeremy Owen Atlassian Team Apr 12, 2018

Hmm, you're not wrong. It's definitely stricter.

To be very honest, the validation we perform on JUnit files before parsing them in Bamboo is pretty simplistic. It's not actually using an XSD and is performing a few basic checks in code, so it's difficult to give you a 1:1 definition. This is the closest I can find:

Cheers,

Jeremy

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

997 views 4 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you