Webhook Step Plugin

registerWebhook: Creates and returns a webhook that can be used by an external system to notify a pipeline

Returns a unique webhook that can be used with waitForWebhook to block pipeline execution until external notification. The returned webhook has String getToken() and String getURL() methods.

waitForWebhook: Wait for webhook to be posted to by external system

Blocks on a webhook created with registerWebhook until the registered webhook is posted to. In general, should not be used inside of a node block.
webhookToken

org.jenkinsci.plugins.webhookstep.WebhookToken