add Rundeck to examples
parent
e0ad926ce9
commit
4d6d6f7204
|
@ -504,3 +504,34 @@ apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
|||
ntfy://ntfy.example.com/mytopic
|
||||
```
|
||||
|
||||
|
||||
## Rundeck
|
||||
Rundeck by default sends only HTML which is not processed by ntfy SMTP server.
|
||||
|
||||
Append following configurations to [rundeck-config.properties](https://docs.rundeck.com/docs/administration/configuration/config-file-reference.html) :
|
||||
|
||||
```
|
||||
# Template
|
||||
rundeck.mail.template.file=/path/to/template.html
|
||||
rundeck.mail.template.log.formatted=false
|
||||
```
|
||||
Example `template.html`:
|
||||
|
||||
```html
|
||||
<div>Execution ${execution.id} was <b>${execution.status}</b></div>
|
||||
<ul>
|
||||
<li><a href="${execution.href}">Execution result</a></li>
|
||||
<li><a href="${job.href}">Job</a></li>
|
||||
<li><a href="${execution.projectHref}">Project: ${execution.project}</a></li>
|
||||
<li><a href="${rundeck.href}">Rundeck</a></li>
|
||||
</ul>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
```
|
||||
|
||||
Add notification on Rundeck:
|
||||
![Rundeck](static/img/rundeck.png)
|
||||
|
||||
Attachment type must be: `Attached as file to email`
|
||||
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 96 KiB |
Loading…
Reference in New Issue