Skip to content

Commit

Permalink
[buildkite] Fix unbound variable in post_build script (#113687) (#113688
Browse files Browse the repository at this point in the history
)

Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
  • Loading branch information
kibanamachine and brianseeders authored Oct 1, 2021
1 parent fe00c13 commit 53fa6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/scripts/lifecycle/post_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export BUILD_SUCCESSFUL

node "$(dirname "${0}")/ci_stats_complete.js"

if [[ "$GITHUB_PR_NUMBER" ]]; then
if [[ "${GITHUB_PR_NUMBER:-}" ]]; then
DOCS_CHANGES_URL="https://kibana_$GITHUB_PR_NUMBER}.docs-preview.app.elstc.co/diff"
DOCS_CHANGES=$(curl --connect-timeout 10 -m 10 -sf "$DOCS_CHANGES_URL" || echo '')

Expand Down

0 comments on commit 53fa6f5

Please sign in to comment.