Fix downstream branch fetching

We should be giving the PR the best possible chance at passing the build.
pull/9165/head
Travis Ralston 2019-03-15 10:23:43 -06:00
parent ef6313fbb4
commit df7b617881
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ function dodep() {
# Use the default branch as the last resort.
if [[ "$BUILDKITE" == true ]]; then
clone $org $repo $BUILDKITE_BRANCH ||
clone $org $repo $BUILDKITE_PULL_REQUEST_BASE_BRANCH ||
clone $org $repo $defbranch ||
return $?
else