Don't block triggered JDK matrix Buildkite jobs (#15729) (#15730)

The recent PRs #15668 and #15705 refactored jobs with a custom schedule
to leverage a centralized trigger pipeline.

An unexpected sideffect of this is that the conditional for the wait
step doesn't work anymore.

This commit skips the wait step when the JDK matrix pipelines get triggered
from another pipeline.

(cherry picked from commit 82ac474b13)

Co-authored-by: Dimitrios Liappis <dimitrios.liappis@gmail.com>
This commit is contained in:
github-actions[bot] 2024-01-02 12:20:22 +02:00 committed by GitHub
parent 3dbeb0fcb9
commit beb60bf7f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -63,7 +63,7 @@ steps:
value: "zulu_11"
- wait: ~
if: build.source != "schedule"
if: build.source != "schedule" && build.source != "trigger_job"
- command: |
set -euo pipefail

View file

@ -43,7 +43,7 @@ steps:
value: "zulu_11"
- wait: ~
if: build.source != "schedule"
if: build.source != "schedule" && build.source != "trigger_job"
- command: |
set -euo pipefail