[Anthill-pro] Creating and testing notification templates

John Feminella johnf.pub at distb.net
Tue Feb 9 10:28:16 CST 2010


Three quick questions about notification templates:

1.) Is there a library of pre-made common templates I can use instead
of rolling my own? I'm not particularly excited about the prospect of
writing one of them from scratch, and I think my needs are relatively
common. When a workflow completes, I'd like the resulting template to
contain:

* Status of workflow (complete, failed, error, etc.)
* Which workflow ran
* Which project that workflow is a part of
* If the build broke, which team member(s) committed changesets that
were new in this build
* Link to that workflow's build life page
* Link to that workflow's test results page

2.) Is the only way to test the output of a notification template by
generating a build? That seems clunky and inefficient.

3.) I get a lot of extra line breaks in the template output, one for
each source line. Is there Velocity syntax I can use to tell it to
ignore linebreaks?

I'm running 3.7.1, FWIW.

~ jf
--
John Feminella
Principal Consultant, Distilled Brilliance


More information about the Anthill-pro mailing list