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
0
8 comments
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

Thanks,

I will try this out.

Regards,


Leo

0

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.

0

Please sign in to leave a comment.