Customize the Recent history view
Followed by 2 people
Hi All,
Is there a way to be able to add a column in the Recent Histoy grid view under the Overview tab of the build project.
We want to add the Triggered By information so we know if it is manually or automatically triggere.
Please see attached screen shot.
Thanks.
Leo
Attachment(s):
TriggeredByColumnInHistoryView.png
Please sign in to leave a comment.
If it is not possible, a tag could be added as a workaround.
Thanks for the info.
But how could you do that with tags?
I need it to automatically display who triggered it.
Thanks again.
Leo
We use a command line Script build step:
"%teamcity.tool.curl_7.37%\bin\curl.exe" --user user:pwd% -X POST -d "%build_type%" -H "Content-Type: text/plain" "%teamcity.serverUrl%/httpAuth/app/rest/builds/%teamcity.build.id%/tags/" -s
I think you can do the same with the parameters teamcity.build.triggeredBy or teamcity.build.triggeredBy.username. (instead of %build_type%)
Thanks for the info. This is most certainly helpful.
One last question, is curl a pre-installed tool in TeamCity? I am using Windows build agents.
Otherwise, I'll just have to install them in each of my build agents.
Thanks,
Leo
curl is not pre installed.
You don't need to install it manually on each agent. For this purpose, the following can be used: https://confluence.jetbrains.com/display/TCD9/Installing+Agent+Tools
Maybe it can also be achieved with this plugin. https://confluence.jetbrains.com/display/TW/StaticUIExtensions
I have not tried it yet.
Thanks,
I will try this out.
Regards,
Leo
We have two related feature requests: https://youtrack.jetbrains.com/issue/TW-15905, https://youtrack.jetbrains.com/issue/TW-36652. Please watch/vote for them.