Utilizes notification integration to send custom messages at any time during the build to any recipient.
For more information, see Sending Notifications from Pipelines.
send_notification <integration> [options]
The options can be specified as part of the command, or defined as environment variables before the command is issued.
The command line arguments take priority over the environment variables.
Creates an AirBrake deployment through an Airbrake Integration. Not supported in PowerShell.
the project ID to send the notification for
the environment value to use when posting the deployment
used when posting an AirBrake deployment
the email to be used when posting the AirBrake deployment
the repository to use when posting the AirBrake deployment
the deployment revision
the version to use when posting the AirBrake deployment
currently only type “deploy” is supported
description of the deployment
path to a valid JSON file that contains a payload to use to POST the AirBrake deployment
Creates a Jira issue (also known as a ticket).
the Project Key of the project to associate the new issue with. The project key is the short string that begins all issue numbers for the project (e.g., "EXAMPLE-1234")
the issue type for the new issue (e.g., "Bug", "Task", etc.). This string must be one of the recognized Jira issue types
a string for the new issue's Summary field (it's title)
(optional) a string for the new issue's Description field
(optional) a path to a file that you’d like to attach to the issue
Creates a NewRelic deployment through a NewRelic Integration. Not supported in PowerShell.
the type of object to be posted. At the moment, only “deployment” is supported
description of the deployment
the user recording the deployment. Defaults to “JFrog Pipelines”
the changelog value to use in the deployment
the deployment revision (required)
the ID of the app being deployed. If not provided, --appName must be present
the name of the app being deployed. If not provided, --appId must be present
path to a valid JSON file that contains a payload to use to POST the NewRelic deployment
Sends an event through a PagerDuty Events Integration.
The main text to display in the event on PagerDuty.
Sends a message on Slack through a Slack Integration.
(optional) A path to a valid json file to act as the payload of the message. If a payload is provided, all other parameters are ignored. This payload is directly sent to Slack, so please view the Slack API documentation for information on how the payload should be formatted.
(optional) shows in the heading of the Slack message
(optional) a string that becomes the first part of the Slack message. Defaults to current date/time
(optional) the main text to display in the message.
(optional) hex string that changes the color of the status bar to the left of the Slack message.
(optional) the target of the message. Should start with “@” or “#” for user or channel, respectively.
(optional) the url of the icon to show next to the message
Sends an email through an SMTP Credentials Integration.
one or more email addresses
(optional) add a message to the subject. Does not replace the default subject
(optional) specify some text to add to the body of the email. Does not replace the existing body information
(optional) can be set to a valid status string. By default it will be set based on the section of scrip the command is executed in.
(optional) a list of files to attach to the email. Combined total of all files cannot exceed 5MB
(optional) ‘true’ or ‘false’. Defaults to false. All available logs for the step will be attached to the email. Note that it can only attach logs that have already been created, so using this option in the onStart section, for example, would not have very detailed logs.
(optional) 'true’ or ‘false’. Defaults to false. The existing logs for the step will be parsed. Any failed command that is detected will be added to the body of the email, along with up to 100 preceding lines (if printed from the same command)
All of the above options can also be included as environment variables instead of arguments. The command line argument will have priority over the environment. Here is the full list of ENVs: