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.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.