Default Slack template for deployments

steven.roberts's Avatar

steven.roberts

02 Oct, 2019 06:25 PM

I would like to modify (slightly) the notification we get for successful/failed deployments. In the documentation I see the template for builds but the default deployment template is obviously different. e.g.

build template results in something like

Build xxx 1.0.130 completed
Commit d60b73b978 by stevenroberts on 10/2/2019 2:05 PM:
Merge pull request #407 from xxx/dev_refactor_services
where deploy looks like
Deployment of xxx 1.0.130 to DEV-SERVICES-SERVER completed
  1. Support Staff 1 Posted by Feodor Fitsner on 03 Oct, 2019 02:13 AM

    Feodor Fitsner's Avatar

    Sure, default Slack deployment template is:

    <{{deploymentUrl}}|Deployment of {{build.projectName}} {{build.buildVersion}} to {{environment.name}} {{status}}>
    

    Let me know what would you like to get in a custom template and I'll give you an example.

  2. 2 Posted by steven.roberts on 04 Oct, 2019 04:24 PM

    steven.roberts's Avatar

    Thank you very much!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac