Can Bamboo use STDOUT for JUnit results?

I'm running Bamboo 4 & currently have my system's unit tests running through a wrapper script (bash script running Perl's 'prove' command) but I would like to get Bamboo running the test runner (prove) directly for a little more purity.

The caveat is that the test executor (prove) outputs logs to STDOUT. In my wrapper script (bash) it's trivial to redirect the script's output to 'results-$BUILDNO.xml', which the JUnit Parser task picks up, but I cannot seem to replicate this when using 'prove' as the executable in Babmoo.

Is there a way to direct Bamboo to use STDOUT from a task in some way? Can I add a '> filename' into the arguments? Can I set up STDOUT as an artifact? Or something else?

1 answer

1 accepted

This widget could not be displayed.

If you are using the Script Task using the inline option its possible to call your script and redirect the output to standard out just like you would on a bash prompt.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

97 views 1 0
Join discussion

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