Slack slash commands

To configure the integration, go to the pipeline, click on the burger menu (3 dots) and select 'Slack commands':

Image loading...Slack commands locationSlack commands location

A window will open with the pipeline URL required to configure the slash commands:

Image loading...Slack Slash CommandsSlack Slash Commands

Slash commands

Once configured, you can run the following commands from your Slack channel:

ActionCommand
Get pipeline status/[name] status
Run execution/[name] run
Run execution + clear cache/[name] clear run
Cancel execution (must be in progress)/[name] cancel
Run execution again (must be terminated or canceled)/[name] retry
Run execution from scratch/[name] refresh
Run execution from scratch + clear cache/[name] clear refresh
Run and refresh can be used with any revision/[name] run/refresh 1c002dd
Clear and revision can be run together/[name] clear run 1c002dd
Approve a waiting pipeline/[name] approve
Pass params to the waiting pipeline:/[name] params a=b c="some text"*

*[name] is the name of the command that you entered in Slack.

For wildcard pipelines you can send the branch, tag or pull request:

/[name] clear run tag=1.1 /[name] clear run branch=dev /[name] clear run pullRequest=feature-update /[name] clear run revision=1c002dd
Last update:
Sep 23, 2024