Skip to content

Commit 3eb110c

Browse files
ParaskP7claude
andcommitted
CI: Fix slack notify configuration in dependency analysis pipeline
Move notify block from step level to pipeline level and add both passed and failed notifications with explicit messages. Step-level notify only supports a subset of conditions, while pipeline-level notify properly triggers on build state. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fac6b23 commit 3eb110c

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.buildkite/schedules/dependency-analysis.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ steps:
1313
plugins: [$CI_TOOLKIT]
1414
artifact_paths:
1515
- "build/reports/dependency-analysis/build-health-report.*"
16-
notify:
17-
- slack: "#android-core-notifs"
18-
if: build.state == "failed"
16+
17+
notify:
18+
- slack:
19+
channels:
20+
- "#android-core-notifs"
21+
message: "Dependency analysis succeeded."
22+
if: build.state == "passed"
23+
- slack:
24+
channels:
25+
- "#android-core-notifs"
26+
message: "Dependency analysis failed."
27+
if: build.state == "failed"

0 commit comments

Comments
 (0)