Skip to content

Commit

Permalink
[Buildkite] Add retry suffix for logs (elastic#9703)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm authored Apr 25, 2024
1 parent d932e79 commit 0c2198b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .buildkite/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,10 @@ upload_safe_logs_from_package() {
fi

local package=$1
local retry_count="${BUILDKITE_RETRY_COUNT:-"0"}"
if [[ "${retry_count}" -ne 0 ]]; then
package="${package}_retry_${retry_count}"
fi
local build_directory=$2

local parent_folder="insecure-logs"
Expand Down

0 comments on commit 0c2198b

Please sign in to comment.