-
In your Slack administrative interface, create a new Slack webhook.
You get a URL starting with
https://hooks.slack.com/. -
Replace
SLACK_URLin the following script with your webhook URL. -
Paste the code into a
.jsfile. -
Add it as a new script integration.
Specify which events should trigger it using the
--eventsflag. Optionally specify environments with the--environmentsflag.
activity.text: A brief, one-line statement of what happened.activity.log: The complete build and deploy log output, as it would be seen in the Console log screen.