mirror of https://github.com/vector-im/riot-web
Fetch downstream dependencies from as many places as possible
Gives the build the best possible chance at passingpull/21833/head
parent
5b68a70da1
commit
365c8e9fdc
|
@ -19,6 +19,8 @@ clone() {
|
||||||
|
|
||||||
# Try the target branch of the push or PR.
|
# Try the target branch of the push or PR.
|
||||||
clone $BUILDKITE_BRANCH
|
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.
|
# Try the current branch from Jenkins.
|
||||||
clone `"echo $GIT_BRANCH" | sed -e 's/^origin\///'`
|
clone `"echo $GIT_BRANCH" | sed -e 's/^origin\///'`
|
||||||
# Use the default branch as the last resort.
|
# Use the default branch as the last resort.
|
||||||
|
|
Loading…
Reference in New Issue