commit
e1eca2323e
2 changed files with 31 additions and 0 deletions
|
@ -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 email 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`
|
||||
|
||||
|
|
BIN
docs/static/img/rundeck.png
vendored
Normal file
BIN
docs/static/img/rundeck.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 95 KiB |
Loading…
Reference in a new issue