You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.