add a new notification type : URL
Reported by Vincent Behar | March 8th, 2011 @ 05:17 AM | 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 March 9th, 2011 @ 03:26 PM
- 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 March 11th, 2011 @ 01:48 PM
(from [e4daadf1645e51498e83574d0f83e2873e759c5e]) Add webhook notification type for jobs [#225] https://github.com/dtolabs/rundeck/commit/e4daadf1645e51498e83574d0...
-
Greg Schueler March 17th, 2011 @ 02:59 PM
- State changed from new to open
-
Greg Schueler June 3rd, 2011 @ 04:32 PM
- 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 June 8th, 2011 @ 09:24 AM
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 June 8th, 2011 @ 10:11 AM
- State changed from needs_verification to open
-
Alex-SF June 8th, 2011 @ 11:45 AM
- Tag changed from interop, notification, webhook to feature request, interop, notification, webhook
-
Deleted User June 9th, 2011 @ 01:07 PM
- 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 July 7th, 2011 @ 07:12 PM
(from [4b6b1355a912463dfb09fa9d2cb69bd9d4f9bb00]) Set job.id value to uuid for webhook notification URL variable expansion [#225] https://github.com/dtolabs/rundeck/commit/4b6b1355a912463dfb09fa9d2...
-
Greg Schueler July 7th, 2011 @ 07:12 PM
- 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...