cloudfoundry-community / slack-notification-resource

Concourse CI resource for sending notifications to Slack.
MIT License
75 stars 82 forks source link

@mentions not working #16

Closed ChristianGrube closed 7 years ago

ChristianGrube commented 7 years ago

Not sure if the issue belongs to the plugin or the slackbot API but we were unable to mention people using this resource type.

When we do @here we get plain text in our slack channel rather than a proper mention + notification.

e.g.

  - name: test
    plan:
    - get: github
      trigger: true
    - task: test
      file: github/ci/tasks/test.yml
      on_failure:
        put: slack-alert
        params:
          channel: '#engineering'
          text: 'Hi @here, test failed.'
jhunt commented 7 years ago

I believe you need to use the alternate slack syntax:

text: "Hi <!here>, test failed."