8000 Merge pull request #2877 from circleci/tjs/notifications-update · stackbuilders/circleci-docs@5785d93 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 5785d93

Browse files
Merge pull request circleci#2877 from circleci/tjs/notifications-update
Specify notification origin (job vs workflow)
2 parents 4a4f69e + da38072 commit 5785d93

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

jekyll/_cci2/notifications.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ published: true
88
---
99

1010
CircleCI has integrated chat notifications, automated email notifications, and
11-
web notifications. Notifications are delivered on the success or failure of a
12-
[workflow]({{ site.baseurl }}/2.0/workflows/). Consider the minimal CircleCI config below:
11+
web notifications. For Slack and Email, notifications are delivered on the success or failure of a
12+
[workflow]({{ site.baseurl }}/2.0/workflows/). Otherwise, notifications are
13+
delivered for each job for all other notification platforms. Consider the minimal CircleCI config below:
14+
1315

1416
```yaml
1517
version: 2
@@ -28,9 +30,10 @@ jobs:
2830
- run: <command>
2931
workflows:
3032
version: 2
31-
build_and_test: # < A notification will be visible for this workflow
33+
build_and_test: # < Slack and Email notifications will be delivered for workflows
3234
jobs:
33-
- build
35+
# All other notification integrations (HipChat, IRC, etc) will receive notification for each job.
36+
- build
3437
- test
3538
```
3639

0 commit comments

Comments
 (0)
0