I am not able to make Conditionals work when running pipelines locally with the bk CLI. Here is the simplest example I came up with:
steps: - label: "all" cmd: echo "I shall run always" - label: "skip locally" if: build.source != 'local' cmd: echo "I should not run locally"
The result when I run
bk run local .buildkite/pipeline.yml is that both steps run but I would expect only the first step “all” were executed. I tried several “if” statement combination but none worked.