processWebhookTrigger

On this page
Back to index

Summary

Processes webhook events.
tokenId
Stringrequired
Access token public ID to use for processing webhook request.
httpMethod
Stringoptional
HTTP method for processing webhooks.
webhookHeader
Stringoptional
Headers associated with the request in the JSON format.
webhookPayload
Stringoptional
Payload from webhook.
webhookUrl
Stringoptional
Full raw URL of the CloudBees CD/RO server, as it is called by the third-party system. Enclose the IPV6 address in square brackets. Example: [<IPv6-ADDRESS>].

Usage

Perl

$cmdr->processWebhookTrigger( "test-tokenId" # tokenId # optionals );

ectool

ectool processWebhookTrigger \ "test-tokenId" `# tokenId` \ # optionals