mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
Do not run BC upgrade tests when no manifest found (#130167)
Fix the problem when curl/jq command returns "null" for no snapshots found.
This commit is contained in:
parent
6cb7b2d2f2
commit
ea9ccc3660
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ select(.active_release == true) |
|
||||||
(.build_candidates | to_entries | sort_by(.value.completed_at))) |
|
(.build_candidates | to_entries | sort_by(.value.completed_at))) |
|
||||||
last | .value.manifest_url")"
|
last | .value.manifest_url")"
|
||||||
|
|
||||||
if [[ -z "$MANIFEST_URL" ]]; then
|
if [[ -z "$MANIFEST_URL" ]] || [[ "$MANIFEST_URL" == "null" ]]; then
|
||||||
echo "No snapshots or build candidates for branch [$BUILDKITE_BRANCH]."
|
echo "No snapshots or build candidates for branch [$BUILDKITE_BRANCH]."
|
||||||
echo "Skipping BC upgrade tests."
|
echo "Skipping BC upgrade tests."
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue