Add download link to assets in RSS Feed for TeamCity

I have an rss feed http://<myTeamcityserver>/feed.html?itemsType=builds&buildStatus=successful

Is it possible to add a download link to the assets that are attached to each of the entries in the feed? If so how can I do this?

Many thanks in advance,

Paul

3 comments
Comment actions Permalink

Hi Paul

Customizing Notifications is a common procedure for the RSS feed, email and other types of notifications.
The template for the feed can be found in feed-item-template.ftl file inside <TeamCity Data>/config/_notifications/feed/ directory.

0
Comment actions Permalink

Hi Michael,

I have looked at the link you sent and in the template. I cannot find any reference on how to amend the template to provide a download link to the assets created through the build. Can you assist?

0
Comment actions Permalink

Hi Paul,

Do you mean build artifacts?
The link to the build artifact has a format
http://serverUrl/repository/download/<build configuration locator>/2:<build id>/<artifact path>

The build configuration and id you can get from the ${build} variable.

--
Maxim

0

Please sign in to leave a comment.