[Anthill-pro] Creating and testing notification templates

Steve Boone sbb at urbancode.com
Tue Feb 9 11:43:43 CST 2010


John,

As a quick response to your questions...  please see below.

1)  Yes, there are pre-made common templates.  Try using the Simple
Notification Template (Changelog), it should have all the pieces you are
looking for.

2)  Currently, the only way to test a template is to actually do a build.
We agree, it is inefficient and there are plans to change this
functionality.

3)  What you are experiencing is a bug in AnthillPro.  The work around is to
create/edit the script outside of AnthillPro, and then paste them into UI.

Please let me know if you have any other questions.

Cheers,
Steve

On Tue, Feb 9, 2010 at 11:28 AM, John Feminella <johnf.pub at distb.net> wrote:

> 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
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>


More information about the Anthill-pro mailing list