Is there a way to format script output such that it will display differently on the build log window in Bamboo?

As part of our automated test configuration in Bamboo, we kick of a Perl script as one of the jobs. This perl script outputs errors and issues that it finds to STDOUT on the computer running the remote agent, which is then captured and sent to the build log window in bamboo. That's fine, and works great. What is not great is that the output is all formatted the same. Color, font, etc. This means the devs have to painstakingly look through the build results window and try and pick out the errors that the script has reported.

This is a long shot, but is there a way to format output to STDOUT so that when bamboo collects it, it knows to display it in RED, or in a bigger font, in the results window?

I guess the more general question here is how does one use test scripts effectively via Bamboo if there is no good way to report back these errors in a clear and obvious fashion? Am I missing something here?

Thanks

Scott

5 answers

1 accepted

Accepted Answer
0 votes

WTF is wrong with this "answer" mechanism? It will not let me answer my own question and be done with it!

And just like that, we stumbled onto the fact that "Script" is a build plugin, not a test plugin. Our plan is to have the perl script output to a JUnit-formatted file, then have the JUnit plugin parse and display errors.

Thanks

Hey scotty,

I was wondering if you have developed this plugin and might you be able to share it with us? We are developing something similar for our reporting on the different maven steps we run for each build. We would like different colors for each step's failures. Thanks!

answer above

can't seem to answer my own question

See first comment above about the answer to this question.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 13 hours ago in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

166 views 0 5
Read article

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