Is it possible to specify the name of the .yml file for buildkite to use for its pipeline config?

chu*_*loo 1 buildkite

Buildkite by default searches in your repo for .buildkite/pipeline.yml, however I was wondering if its possible to specify an alternative name for the config file.

So for example is it possible to have the following folder and yml files in your repo:

.buildkite/pipeline.yml
.buildkite/pipeline2.yml
Run Code Online (Sandbox Code Playgroud)

And then have one build pipeline search for the default ./buildkite/pipeline.yml and another build pipeline search for a specific ./buildkite/pipeline2.yml?

sj2*_*j26 5

有一些默认路径,但您也可以指定管道上传命令的路径,这是一种常见模式:

buildkite-agent pipeline upload .buildkite/pipeline-deploy.yml
Run Code Online (Sandbox Code Playgroud)

请参阅文档以获取更多信息:

https://buildkite.com/docs/agent/v3/cli-pipeline#uploading-pipelines