set_payload

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

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

set_payload <resource> <payload> [--file]

PowerShell

set_payload <resource> <payload> [-file]

  • 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 the payload parameter is a file. If not specified, payload will be processed as a string.