-
Improvement
-
Resolution: Fixed
-
Major
-
None
I have a lot of jobs (100+) that were created with either the wrong e-mail trigger setup or none at all. These jobs tend to fall into a few categories like.
Mail on Fail or Fix to Group A
Mail on Fail or Fix to Group B
Mail on Success to Group A
Mail on Unstable to Group C
Mail on Any
Right now I have to go into every job and "fix" the e-mail triggers and assignee the appropriate group of users. This requires a lot of configuration because I have to manually add the "editable e-mail notification" > "Advanced Settings" > "Add Trigger" > "Fixed/Fail/Success/etc..." > edit "jelly/groovy templates..." for each job.
It would be nice if there was a global configuration template page where the admin can define multiple custom global e-mail templates. These templates would then be selectable from any job using a simple drop down list within the editable e-mail notification of the job. What was a complex multiple step configuration prone to user editing errors, becomes a simple drop-down list.
Doing it this way also make sense in the long run because if someone wants to update the e-mail, different reporting style, additional users for a group, change the formatting of a trigger e-mail. It only needs to be updated in global template once, not for every job.
As an enhance function the list could be combined into more complex e-mail triggers. Such as
Mail on Fail or Fix Group A & Mail on Unstable to Group C.