From 365c8e9fdc34f872cd84e00a46e040cca4ff7ebc Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Fri, 15 Mar 2019 10:34:30 -0600 Subject: [PATCH] Fetch downstream dependencies from as many places as possible Gives the build the best possible chance at passing --- scripts/fetchdep.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/fetchdep.sh b/scripts/fetchdep.sh index c00f0ff0f2..b9ca6a32dd 100755 --- a/scripts/fetchdep.sh +++ b/scripts/fetchdep.sh @@ -19,6 +19,8 @@ clone() { # Try the target branch of the push or PR. clone $BUILDKITE_BRANCH +# Try the PR author's branch in case it exists on the deps as well. +clone $BUILDKITE_PULL_REQUEST_BASE_BRANCH # Try the current branch from Jenkins. clone `"echo $GIT_BRANCH" | sed -e 's/^origin\///'` # Use the default branch as the last resort.