BuildKite 文档建议您可以添加将应用于整个 pipeline.yml文件的环境变量,但实际上并未向您展示如何执行此操作。
我试过类似的东西:
CONCURRENCY=10
steps:
- label: ":rocket: Let's kick this pig"
concurrency: $CONCURRENCY
- label: ":explosion: All out of bubble-gum"
concurrency: $CONCURRENCY
但是我遇到了语法错误。