Use the right CI branch
This commit is contained in:
parent
1fb8b23d4c
commit
ef6313fbb4
|
@ -23,3 +23,4 @@ steps:
|
||||||
plugins:
|
plugins:
|
||||||
- docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
image: "node:10"
|
image: "node:10"
|
||||||
|
propagate-environment: true
|
||||||
|
|
|
@ -40,9 +40,8 @@ function dodep() {
|
||||||
# Try the PR author's branch in case it exists on the deps as well.
|
# Try the PR author's branch in case it exists on the deps as well.
|
||||||
# Try the target branch of the push or PR.
|
# Try the target branch of the push or PR.
|
||||||
# Use the default branch as the last resort.
|
# Use the default branch as the last resort.
|
||||||
if [[ "$TRAVIS" == true ]]; then
|
if [[ "$BUILDKITE" == true ]]; then
|
||||||
clone $org $repo $TRAVIS_PULL_REQUEST_BRANCH ||
|
clone $org $repo $BUILDKITE_BRANCH ||
|
||||||
clone $org $repo $TRAVIS_BRANCH ||
|
|
||||||
clone $org $repo $defbranch ||
|
clone $org $repo $defbranch ||
|
||||||
return $?
|
return $?
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue