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 |
|
resource
is the name of an OutgoingWebhook resource.payload
is 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.file
option specifies that thepayload
parameter is a file. If not specified,payload
will be processed as a string.