buildkite / feedback

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

Trigger Pull Request builds from web #471

Closed moensch closed 5 years ago

moensch commented 5 years ago

I found that I'm not able to trigger a build via web and have the following env vars set as expected:

BUILDKITE_PULL_REQUEST="1"
BUILDKITE_PULL_REQUEST_BASE_BRANCH="master"
BUILDKITE_PULL_REQUEST_REPO="git://github.com/org/repo.git"

I tried manually setting them when kicking off a build, but it seems like the agent bootstrap(?) is overriding them.

lox commented 5 years ago

Hmmm 🤔I thought we fixed this. @keithpitt any ideas why it's not working?

keithpitt commented 5 years ago

@moensch just wanted to give you a quick heads up that I've special cased those environment variables so you can manually set them via the "New Build" dialog:

image

Let me know if you have any follow up questions! 🚀