Email Notifier templates customization

Hi,

we'd need more customization options for the email notifier. I see on the documentation that TC 5.1 is going to leverage a different templating engine but no additional information is provided.
Our requirements are as following:

  • edit the templates from the Web UI, since not every member of the team will have physical access to the TC server.
  • reference system properties, environment variables and parameters from the notification template


Is anything of this planned already or should I create an issue on youtrack?

4 comments

Simone,

    edit the templates from the Web UI, since not every member of the team will have physical access to the TC server.

This is not yet available and it will proabbly not be in TeamCity 5.1, please vote for the feature request.
Please note that the notificaiton templates are server-wide, so only the system administrator will be able to edit the templates

    reference system properties, environment variables and parameters from the notification template


If your concern are the parameters that are passed to the build from the server, this is already possible in the TeamCity 5.1 EAP. e.g. you can use template code like:

<#list build.parametersProvider.all?keys as param>
  ${param} - ${build.parametersProvider.all[param]}
</#list>

to list all the parameters.

0

Thanks for the info. Is there documentation for the new features in 5.1 yet?

0

Simone,

We are in the process of preparing the doc. It will probably become availalbe within a week.

0

Please sign in to leave a comment.