Skip to content

Commit

Permalink
Use BUILDKITE_BUILD_NUMBER instead of BUILDKITE_BUILD_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
bmorelli25 committed Feb 9, 2024
1 parent a4b8790 commit ab1b944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/scripts/check_queue.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

build_data_url="https://api.buildkite.com/v2/organizations/elastic/pipelines/${BUILDKITE_PIPELINE_SLUG}/builds?branch=${BUILDKITE_BRANCH}"
cancel_build_url="https://api.buildkite.com/v2/organizations/elastic/pipelines/${BUILDKITE_PIPELINE_SLUG}/builds/${BUILDKITE_JOB_ID}/cancel"
cancel_build_url="https://api.buildkite.com/v2/organizations/elastic/pipelines/${BUILDKITE_PIPELINE_SLUG}/builds/${BUILDKITE_BUILD_NUMBER}/cancel"

# Don't look at this build (it's running now!)
# Don't look at the last build (it's okay if it's still running!)
Expand Down

0 comments on commit ab1b944

Please sign in to comment.