Skip to content

Commit 23811a4

Browse files
Check both SYTEST_BRANCH and BUILDKITE_BRANCH in Docker bootstrap (#1170)
PR #1123 broke the `Trying to get same-named sytest branch` stage for Dendrite CI which is still in Buildkite.
1 parent 8fdc3ab commit 23811a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docker/bootstrap.sh

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ else
1717
# Synapse/Dendrite branch we're running
1818
if [ -n "$SYTEST_BRANCH" ]; then
1919
branch_name="$SYTEST_BRANCH"
20+
elif [ -n "$BUILDKITE_BRANCH" ]; then
21+
branch_name="$BUILDKITE_BRANCH"
2022
else
2123
# Otherwise, try and find the branch that the Synapse/Dendrite checkout
2224
# is using. Fall back to develop if unknown.

0 commit comments

Comments
 (0)