We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4b8790 commit ab1b944Copy full SHA for ab1b944
.buildkite/scripts/check_queue.sh
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
build_data_url="https://api.buildkite.com/v2/organizations/elastic/pipelines/${BUILDKITE_PIPELINE_SLUG}/builds?branch=${BUILDKITE_BRANCH}"
4
-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"
5
6
# Don't look at this build (it's running now!)
7
# Don't look at the last build (it's okay if it's still running!)
0 commit comments