Teamcity EMail Notification
Answered
Hi,
i try to put an env.varaible in an Email Template ( build_successful.ftl ) by donig this
<br>
just the Filename : ${env.Filename}
<br>
But i get an Error in the Email
[TEAMCITY TEMPLATE ERROR]
Could someone help ?
Please sign in to leave a comment.
Hello,
Please use the following syntax:
FileName: ${build.parametersProvider.all['env.Filename']}
Also please see how to list all build parameters.
It Works ... Great thanks
I tried add ${build.branch.name} to email notifier and I got a same error as is above.
Please, could you advise me what I doing wrong and how I can include branch name in email?
Thanks in advance.
Hello Vladimir,
Please use the following command: ${build.parametersProvider.all['build.branch.name']}.