Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

edited notifications to slack page#279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jesse-codefresh merged 1 commit intomasterfromslack-notification
Jun 3, 2021
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,7 +16,7 @@ There are many ways to integrate slack with Codefresh

##Custom webhook to Slack

Use a container image with a[freestyle step]({{site.baseurl}}/docs/codefresh-yaml/steps/freestyle/) such as`tuttum/curl` to send a notification to a Slack channel.
Use a container image with a[freestyle step]({{site.baseurl}}/docs/codefresh-yaml/steps/freestyle/) such as`byrnedo/alpine-curl` to send a notification to a Slack channel.

{:start="1"}
1. Get the {% raw %}```${{SLACK_WEB_URL}}```{% endraw %} and put it in the Environment Variables or use[shared configuration]({{site.baseurl}}/docs/configure-ci-cd-pipeline/shared-configuration/)
Expand All@@ -31,7 +31,7 @@ You can find how to integrate with slack here [https://api.slack.com/incoming-we
`slack step`
{% highlight yaml %}
slack_notify:
image: byrnedo/alpine-curl,curlimages/curl, or any other curl image
image: byrnedo/alpine-curl #curlimages/curl, or any other curl image
commands:
- curl -X POST --data-urlencode 'payload={"text":"Test slack integration via yaml"}' {% raw %}${{SLACK_WEB_URL}}{% endraw %}
{% endhighlight %}
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp