Sending the notification to Slack

Just use freestyle step with tuttum/curl docker image to send the notification to slack channel.

  1. Get the ${{SLACK_WEB_URL}} and put it in the Environment Variables.

You can find how to integrate with slack here https://api.slack.com/incoming-webhooks

  1. Add the following step to your codefresh.yml

slack step

slack_notify:
  image: tutum/curl
  commands:
    - curl -X POST --data-urlencode 'payload={"text":"Test slack integration via yaml"}' ${{SLACK_WEB_URL}}