buildkite / feedback

Got feedback? Please let us know!
https://buildkite.com
25 stars 24 forks source link

Disable Concurrent Builds #472

Closed sayboras closed 5 years ago

sayboras commented 5 years ago

We are migrating from Jenkins to buildkite, and would like to avoid concurrent builds for the same PR/branch. In Jenkins, we just need to do disableConcurrentBuilds, I am not sure how to do the same with Buildkite.

Thanks

sj26 commented 5 years ago

Hi @sayboras, welcome!

If you want to tightly control concurrency then Buildkite has concurrency groups: https://buildkite.com/docs/pipelines/controlling-concurrency

If you want to save some resources and just make sure the latest commit on a branch is always built you might like to investigate Build Skipping within your pipeline settings:

image
sayboras commented 5 years ago

awesome, thanks a lot 💯