- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 03:18 AM
Hello,
I have a request to send data in JSON format to the Jenkins webhook when a catalog task is created. Is there a way to utilize the Jenkins v2 Spoke, or would using a REST message be the suitable solution? I have tried the Jenkins spoke, but I couldn't find a way to establish a connection with the provided webhook and initiate an HTTP POST request to it.
Thank you for your support.
Best regards,
Amber
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 11:03 PM
Hi,
To my knowledge in the generic scenario, you will not be able to send data using the webhook. We need to use REST to send the data; we may also need the MID server in some scenarios.
Thanks,
Shriram
BR,
Shriram Joshi
---------------------------------------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 05:49 AM - edited 08-28-2023 05:49 AM
Hi @Gintarelissss98 ,
Please check this article, hope this will help you to establish the connection.
Thankyou,
Shriram
BR,
Shriram Joshi
---------------------------------------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 06:54 AM
Hi! It should be an HTTP POST request from ServiceNow to the Jenkins webhook including the data sets as a JSON format. This document describes how to receive updates from Jenkins on ServiceNow using the Jenkins spoke. Therefore, I have a question about whether we can utilize this spoke to send data from ServiceNow to Jenkins webhook in the opposite direction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 06:55 AM
Hi! It should be an HTTP POST request from ServiceNow to the Jenkins webhook including the data sets as a JSON format. This document describes how to receive updates from Jenkins on ServiceNow using the Jenkins spoke. Therefore, I have a question about whether we can utilize this spoke to send data from ServiceNow to Jenkins webhook in the opposite direction. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 11:03 PM
Hi,
To my knowledge in the generic scenario, you will not be able to send data using the webhook. We need to use REST to send the data; we may also need the MID server in some scenarios.
Thanks,
Shriram
BR,
Shriram Joshi
---------------------------------------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.