mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [ci(ftr): notify owners in the slack message when failures (#205260)](https://github.com/elastic/kibana/pull/205260) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Victor Martinez","email":"victormartinezrubio@gmail.com"},"sourceCommit":{"committedDate":"2025-01-07T11:53:04Z","message":"ci(ftr): notify owners in the slack message when failures (#205260)","sha":"acc5e039baf1f36a46d6444ae79539c8ce05edc2","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:all-open"],"title":"ci(ftr): notify owners in the slack message when failures","number":205260,"url":"https://github.com/elastic/kibana/pull/205260","mergeCommit":{"message":"ci(ftr): notify owners in the slack message when failures (#205260)","sha":"acc5e039baf1f36a46d6444ae79539c8ce05edc2"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205260","number":205260,"mergeCommit":{"message":"ci(ftr): notify owners in the slack message when failures (#205260)","sha":"acc5e039baf1f36a46d6444ae79539c8ce05edc2"}}]}] BACKPORT--> Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
This commit is contained in:
parent
6d71d04bfa
commit
422122c50d
2 changed files with 12 additions and 0 deletions
|
@ -37,6 +37,8 @@ steps:
|
|||
machineType: n2-standard-4
|
||||
preemptible: true
|
||||
depends_on: build
|
||||
env:
|
||||
PING_SLACK_TEAM: "@obs-ux-infra_services-team"
|
||||
timeout_in_minutes: 120
|
||||
retry:
|
||||
automatic:
|
||||
|
@ -54,6 +56,8 @@ steps:
|
|||
machineType: n2-standard-4
|
||||
preemptible: true
|
||||
depends_on: build
|
||||
env:
|
||||
PING_SLACK_TEAM: "@obs-ux-infra_services-team"
|
||||
timeout_in_minutes: 120
|
||||
retry:
|
||||
automatic:
|
||||
|
|
|
@ -52,4 +52,12 @@ if [[ "$IS_TEST_EXECUTION_STEP" == "true" ]]; then
|
|||
buildkite-agent artifact upload 'target/test_failures/**/*'
|
||||
ts-node .buildkite/scripts/lifecycle/annotate_test_failures.ts
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
if [[ $BUILDKITE_COMMAND_EXIT_STATUS -ne 0 ]]; then
|
||||
# If the slack team environment variable is set, ping the team in slack
|
||||
if [ -n "${PING_SLACK_TEAM:-}" ]; then
|
||||
buildkite-agent meta-data set 'slack:ping_team:body' "${PING_SLACK_TEAM}, can you please take a look at the test failures?"
|
||||
fi
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue