junit parser doesn't parse "system-out" element in test cases

I have a test generating test reports in a junit xml format, and parsed by JUnit parser in Bamboo. But I found JUnit parser doesn't parse anything in "system-out" element in test cases.

The customized report I asked the script to generate is like the format in Bamboo documentation: https://confluence.atlassian.com/display/BAMBOO/JUnit+parsing+in+Bamboo

Does anyone have the same issue?

6 answers

1 accepted

This widget could not be displayed.

I finally use the strategy @Krystian Brazulewicz suggested. I put all the information I want to see in test artifacts. 

This workaround was also mentioned by https://jira.atlassian.com/browse/BAM-782. The shortcoming is also analysed.

However, it works very good for my specific case. Thanks!

This widget could not be displayed.

Bamboo does not parse system-out element. If you're interested in details please see JunitTestResultsParser class in Bamboo source code.

If you believe that such feature would be useful please create an Improvement request in our public bug tracker.

This widget could not be displayed.

Thanks a lot! @Krystian Brazulewicz

I need to dump a set of "name = value" parameters shown in the test result. Is there any way to do that?

I also tried put it in properties element, it seems  Bamboo also doesn't parse properties either.

btw, could you tell me how to see Bamboo source code?

Hi Man, I wrote my own JUNIT parser, which creates the output JUNIT-format (*xml) file, and all *<property>* and *<system-out>* tags are not visible anywhere in Bamboo. So please let me know if you find any solution how to visualise them. Thanks, Jan.

This widget could not be displayed.

This page describes what needs to be done to download Bamboo source code: https://www.atlassian.com/software/bamboo/download

This widget could not be displayed.

You can also try attaching report file as an artifact to your build and then investigate the reason for your failing build using this artifact.

This widget could not be displayed.

There are already issues asking for this rather fundamental feature:

https://jira.atlassian.com/browse/BAM-1335

https://jira.atlassian.com/browse/BAM-8596

https://jira.atlassian.com/browse/BAM-782

In my case, Gradle produces JUnit reports with useful information in the system-out and system-err tags. It would help me considerably if Bamboo displayed that information like Jenkins does. It is one of the reasons I don't use Bamboo yet. The other is https://jira.atlassian.com/browse/BAM-11205 (I need Bamboo to build Stash fork pull requests natively).

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked yesterday in Data Center

Hi! I'm Cameron Deatsch, enterprise enthusiast and Head of Server at Atlassian. AMA!

Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. At our European Summit just a few weeks ago, I spoke about the latest regarding our Server and Data center products and o...

11,361 views 2 4
View question

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