Customize the Recent history view

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
8 comments
Comment actions Permalink

If it is not possible, a tag could be added as a workaround.

0
Comment actions Permalink

Thanks for the info.

But how could you do that with tags?

I need it to automatically display who triggered it.

Thanks again.


Leo

0
Comment actions Permalink

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%)

0
Comment actions Permalink

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

0
Comment actions Permalink

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

0
Comment actions Permalink

Maybe it can also be achieved with this plugin. https://confluence.jetbrains.com/display/TW/StaticUIExtensions
I have not tried it yet.

0
Comment actions Permalink

Thanks,

I will try this out.

Regards,


Leo

0

Please sign in to leave a comment.