mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 11:24:04 +01:00
Fixed Rundeck example
This commit is contained in:
parent
e1eca2323e
commit
bb2f9cbe2b
2 changed files with 5 additions and 9 deletions
|
@ -506,17 +506,16 @@ apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
|||
|
||||
|
||||
## 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) :
|
||||
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`:
|
||||
|
||||
Example `template.html`:
|
||||
```html
|
||||
<div>Execution ${execution.id} was <b>${execution.status}</b></div>
|
||||
<ul>
|
||||
|
@ -525,13 +524,9 @@ Example `template.html`:
|
|||
<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:
|
||||
Add notification on Rundeck (attachment type must be: `Attached as file to email`):
|
||||
![Rundeck](static/img/rundeck.png)
|
||||
|
||||
Attachment type must be: `Attached as file to email`
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ and the [ntfy Android app](https://github.com/binwiederhier/ntfy-android/release
|
|||
**Documentation:**
|
||||
|
||||
* Updated developer docs, bump nodejs and go version ([#414](https://github.com/binwiederhier/ntfy/issues/414), thanks to [@YJSoft](https://github.com/YJSoft) for reporting)
|
||||
* Added Rundeck example ([#427](https://github.com/binwiederhier/ntfy/pull/427), thanks to [@demogorgonz](https://github.com/demogorgonz))
|
||||
|
||||
**Additional translations:**
|
||||
|
||||
|
|
Loading…
Reference in a new issue