mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[ci] skip failed test reporting when triggered upstream (#182815)
This skips failed test reporting when elasticsearch triggers a pipeline to validate an unpublished version against Kibana.
This commit is contained in:
parent
1857c84ca5
commit
df11bea8c9
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ if [[ "$IS_TEST_EXECUTION_STEP" == "true" ]]; then
|
|||
buildkite-agent artifact upload '.es/**/*.hprof'
|
||||
buildkite-agent artifact upload 'data/es_debug_*.tar.gz'
|
||||
|
||||
if [[ $BUILDKITE_COMMAND_EXIT_STATUS -ne 0 ]]; then
|
||||
if [[ $BUILDKITE_COMMAND_EXIT_STATUS -ne 0 ]] && \
|
||||
# Skip when triggered from elasticsearch's validation pipeline
|
||||
[[ $BUILDKITE_TRIGGERED_FROM_BUILD_PIPELINE_SLUG != 'elasticsearch-serverless-intake' ]]
|
||||
then
|
||||
echo "--- Run Failed Test Reporter"
|
||||
node scripts/report_failed_tests --build-url="${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}" 'target/junit/**/*.xml'
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue