It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I display a custom value on the build results page

One of the build tasks I have in a plan is to launch a custom lines of code counter tool.  This tool produces a few metrics about the code, lines of code, lines of comments, etc. and stores it in an output file.

Would like to take the output of this script and make it visible in the build results page in some way.  Is there some plugin or some way this can be done?   Such as reading in the metrics, injecting them as a variable, and then having those variables displayed once the build is completed.

I realize I could just take the output it produces, and then save that text file as an artifact/attachment, but this isn't really a great solution for people to easily see a simple custom metric...

Appreciate any thoughts and ideas on how to achieve this.

2 answers

0 votes

removed

0 votes
Robert W Atlassian Team Mar 16, 2018

Hi Chris,

 

 It is not currently possible to inject information into the Build Results Summary screen.  

It may be possible to do with a Greasemokey/Tampermonkey browser based script to poll the information and display it on the page.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

696 views 2 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you