You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
@Sampathreddygopireddy118 can you share the custom webhook that you created, How did you pass the context over to webhoook. DO we pass the ctx object in the URL of webhook
I was able to do the HTML format for email using custom webhook (destination as jenkins (generic-webhook-trigger)). Below are the steps if someone wants to do it.
Steps:
Message info in opendistro alerting write your message including painless script and include html tags.
create a free-style jenkins job -> enable the generic webhook trigger-> provide the variable to receive text format from kibana (custom webhook).
enable/create execute shell in Build, and write the incoming text (variable assigned in generic webhook) to a file with html extention (echo $variable > email.html).
enable editable email notification in your post build. Follow the steps from the document below. https://dzone.com/articles/jenkins-convert-excel-data-to-tabular-format-and-s
Hope this helps. Let me know if you need any other details. My email: [email protected]
Is your feature request related to a problem? Please describe.
currently email destination only supports (plain/text).
Describe the solution you'd like
It is really good to have the (Content-Type: text/html) in email destination.
Describe alternatives you've considered
Currently I using custom webhook destination for email notification.
The text was updated successfully, but these errors were encountered: