diff --git a/build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh b/build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh index c4cddafd3ada..2ffee0037d9d 100755 --- a/build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh +++ b/build/teamcity/cockroach/nightlies/roachtest_weekly_impl.sh @@ -4,7 +4,10 @@ set -exuo pipefail dir="$(dirname $(dirname $(dirname $(dirname "${0}"))))" +# N.B. export variables like `root` s.t. they can be used by scripts called below. +set -a source "$dir/teamcity-support.sh" +set +a if [[ ! -f ~/.ssh/id_rsa.pub ]]; then ssh-keygen -q -C "roachtest-weekly-bazel $(date)" -N "" -f ~/.ssh/id_rsa