Notification template variables

Is there a document somewhere that clearly defines the variables available for use in notification templates?  I realize that the available variables differ depending on the type of notification/event but I was hoping there would be something available other than a vague document talking about some java class properties.  If nothing like that is available, could someone tell me if it's possible to get the changelist number (perforce) of the referenced build?    I'm using version 5.1.5 of TeamCity     

Thanks!

1 comment

Karim,

The description has a list of variables and since the variables are in fact Java objects their proerties can be found in JavaDoc that can be accessed from the linked page.

For a revision, I'd try something like ${build.revisions.get(0).revisionDisplayName}
(if you have a single VCS root).

0

Please sign in to leave a comment.