Description
Sets an optional JSON payload (string or file) for an OutgoingWebhook resource. When the OutgoingWebhook is specified in a step's outputresources the payload is sent when the step is complete.
Usage
Shell | Function |
|---|---|
Bash |
|
PowerShell |
|
resourceis the name of an OutgoingWebhook resource.payloadis a JSON string or file to attach to the resource that will be sent as part of the outgoing webhook. A file can be specified as a path relative to the current directory, absolute path, or path relative to the step workspace directory.fileoption specifies that thepayloadparameter is a file. If not specified,payloadwill be processed as a string.