#603 new
Roger Sanchez

Notifications using an HTML template for different projects

Reported by Roger Sanchez | July 9th, 2019 @ 01:20 AM

  • Issue Type: Feature
  • Rundeck version: (2.11.5-1)
  • JDK Version: (your JDK version, sun/openjdk)


We are using the version Rundeck 2.11.5-1 with different projects inside. We would like that each project's job send its own custom HTML file template, (every project is in different language, has different topologies, etc). E.G. the idea is to send an templated email at the start of the job, if there's a failure and if it succeds. The content has to be hardcoded in the html file (we only want to send this content).

As the documentation says in [1] it's possible to specify a template file, we follow the below example adding this line to the rundeck-config.properties -> [2]

project and job specific

rundeck.mail.[project].[jobname].template.subject=[custom subject line]
rundeck.mail.[project].[jobname].template.file=[path to template file]
rundeck.mail.[project].[jobname].template.log.formatted=true/false (if true, prefix log lines with context information)

However the html file in /etc/rundeck/templates/start.html overwrites it in the notification.

We would like to know if we are doing something wrong (if it is the expected behavior) if there's a way to archive this in Rundeck, or if there's an alternative to send templated notifications in this current scenario.

Thank you.

Roger Sanchez.

[1] https://docs.rundeck.com/2.11.5/administration/email-settings.html#... [2] rundeck.mail.[My-project1].[my-job-1].start.template.file=/etc/rundeck/templates/[My-project-1]/START.html

Comments and changes to this ticket

  • abel1303

    abel1303 May 26th, 2023 @ 09:25 PM

    I discovered so several interesting things in your blog rankdle site especially its discussion. From the lots of comments on your posts, I think I am not the only one having all the satisfaction below!

  • Vecna321

    Vecna321 June 17th, 2023 @ 12:15 AM

    To achieve templated notifications, you can explore alternative solutions such as using custom scripts or plugins to generate and send customized email notifications based on the fnf project and job requirements.

  • Undes1982

    Undes1982 July 17th, 2023 @ 04:39 AM

    This post is important. But teachers are often treated as separate individuals. Teachers are exceptionally special people, they are always there for their student's trsl login and they never feel like they belong to any community. But when I first arrived at the university and met a professor over old during my convocation, he couldn't seem more different from all his other colleagues.

  • Reebsmith32
  • Winsome Resort

    Winsome Resort August 14th, 2023 @ 09:02 AM

    Thank you for your kind welcome at the Winsome Resort in Jim Corbett. It sounds like a great option for jim corbett resorts in jungle people who wish to explore nature while still taking in the cozy surroundings of Corbett Jungle Resort. Its location so close to the edge of a forest adds to its appeal by giving visitors the sensation that they are entirely encircled by nature.

  • Oastrew

    Oastrew September 8th, 2023 @ 11:58 PM

    By using a driving route planner in mapquest driving directions, you can save time planning your travel.

  • alexreynolds

    alexreynolds September 18th, 2023 @ 06:27 PM

    Nice article that taught me something. This post is the best one on this important subject quordle

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues

Shared Ticket Bins

People watching this ticket