add a new notification type : URL
Reported by Vincent Behar | 2011-03-08 05:17:49 UTC | in Rundeck 1.3 (closed)
Hi,
it would be great to have a new type of notification to do an
HTTP POST on one (or more) URL(s) after a job execution
success/failure (same as the email notification)
I'm thinking about something similar to what github does with
"post-receive hooks" : http://help.github.com/post-receive-hooks/
I've got 2 use-cases for that :
-
kind of a "callback" for external systems that triggers job execution (typically the jenkins plugin, so that I could add the execution status on a jenkins build)
-
integration with an external monitoring system, to graph the success/failure executions
Thanks
Comments and changes to this ticket
-

Greg Schueler 2011-03-09 15:26:37 UTC
- Tag set to interop, notification, webhook
- Milestone set to Rundeck 1.3
- Assigned user set to Greg Schueler
- Milestone order changed from 17 to 0
Some more thoughts:
The URL should have token expansion, so
${execution.id}will be replaced by execution ID, etc. Other properties: ${job.[name,group,id,project]}, ${execution.[id,status,user]} -

Deleted User 2011-03-11 13:48:23 UTC
(from [e4daadf1645e51498e83574d0f83e2873e759c5e]) Add webhook notification type for jobs [#225] https://github.com/dtolabs/rundeck/commit/e4daadf1645e51498e83574d0...
-

Greg Schueler 2011-03-17 14:59:23 UTC
- State changed from new to open
-

-

Greg Schueler 2011-06-03 16:32:28 UTC
- State changed from open to needs_verification
- Milestone order changed from 2 to 0
webhook (or other notification) at job begin i guess would be another type of notification...perhaps that should be another ticket
-

Alex-SF 2011-06-08 09:24:37 UTC
Verified the functionality but errors in service.log do not include timestamp:
Unable to POST notification after 1 tries: success for execution 253 (succeeded) to http://localhost:8000/bleeps/bleep?email_from=alex@dtosolutions.com...: Error making request: Connection refused
See #335
-

Alex-SF 2011-06-08 10:11:02 UTC
- State changed from needs_verification to open
-

Alex-SF 2011-06-08 11:45:49 UTC
- Tag changed from interop, notification, webhook to feature request, interop, notification, webhook
-

Deleted User 2011-06-09 13:07:04 UTC
- State changed from open to needs_verification
(from [f0b0f8668287087521308b88d84cc02c80068312]) Update NotificationService logger usage [#225 state:needs_verification] https://github.com/dtolabs/rundeck/commit/f0b0f8668287087521308b88d...
-

Deleted User 2011-07-07 19:12:12 UTC
(from [4b6b1355a912463dfb09fa9d2cb69bd9d4f9bb00]) Set job.id value to uuid for webhook notification URL variable expansion [#225] https://github.com/dtolabs/rundeck/commit/4b6b1355a912463dfb09fa9d2...
-

Greg Schueler 2011-07-07 19:12:28 UTC
- State changed from needs_verification to resolved
verified that logging includes timestamp.
verified that webhook URL can include variable expansion.
updated ${job.id} to default to use uuid if present.
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.
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
People watching this ticket
Referenced by
-
225
add a new notification type : URL
(from [f0b0f8668287087521308b88d84cc02c80068312])
Update ...
-
225
add a new notification type : URL
(from [e4daadf1645e51498e83574d0f83e2873e759c5e])
Add web...