[8.16] chore(NA): disable screenshots on package testing (#178162) (#207278)

# Backport

This will backport the following commits from `main` to `8.16`:
- [chore(NA): disable screenshots on package testing
(#178162)](https://github.com/elastic/kibana/pull/178162)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Tiago
Costa","email":"tiago.costa@elastic.co"},"sourceCommit":{"committedDate":"2025-01-21T03:29:41Z","message":"chore(NA):
disable screenshots on package testing (#178162)\n\nI don't think we
need this setting permanently on and it can be enabled\r\nas needed for
debugging
purposes.","sha":"b50669bdfe862a7778f31abc78e93d0eeeb9c4be","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"chore(NA):
disable screenshots on package
testing","number":178162,"url":"https://github.com/elastic/kibana/pull/178162","mergeCommit":{"message":"chore(NA):
disable screenshots on package testing (#178162)\n\nI don't think we
need this setting permanently on and it can be enabled\r\nas needed for
debugging
purposes.","sha":"b50669bdfe862a7778f31abc78e93d0eeeb9c4be"}},"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/178162","number":178162,"mergeCommit":{"message":"chore(NA):
disable screenshots on package testing (#178162)\n\nI don't think we
need this setting permanently on and it can be enabled\r\nas needed for
debugging
purposes.","sha":"b50669bdfe862a7778f31abc78e93d0eeeb9c4be"}}]}]
BACKPORT-->

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
This commit is contained in:
Kibana Machine 2025-01-21 17:26:05 +11:00 committed by GitHub
parent 1005243660
commit 0070d1a959
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,8 +5,9 @@ set -euo pipefail
source "$(dirname "$0")/../../common/util.sh"
.buildkite/scripts/bootstrap.sh
# temporary adding this to get screenshots
is_test_execution_step
# temporary enable this to get screenshots on package testing failures
#
#is_test_execution_step
echo "--- Package Testing for $TEST_PACKAGE"