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?



5 answers

1 accepted

0 votes
Accepted answer

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.


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
Posted Jan 15, 2019 in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

260 views 4 1
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