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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.