parautenbach / TeamCity-HipChat-Notifier

TeamCity HipChat Notifier for sending build server notifications to HipChat.
Other
59 stars 31 forks source link

Show validation error for notification message templates #66

Open naderghanbari opened 8 years ago

naderghanbari commented 8 years ago

On TeamCity 9.1.1, changing the notification values does not show any error so it's a bit confusing. It seems that a validation is happening in the backend but nothing is shown to the user.

parautenbach commented 7 years ago

I'm not sure whether you refer to syntactic or semantic validation. Syntactic validation may be possible. I need to check what the underlying templating library supports. As for semantic validation (i.e. the use of a TeamCity variable), that would be practically impossible, as users of the plugin can define custom environment and other variables.

parautenbach commented 7 years ago

As a workaround, you can enable debug logging.

Also, copying your template out and resetting the template would get things in a working state. You can then visually inspect the template, or you can use this online validator.