diff --git a/build/teamcity/cockroach/ci/tests/local_roachtest.sh b/build/teamcity/cockroach/ci/tests/local_roachtest.sh index eb808f7cbf41..8be6632f6b1e 100755 --- a/build/teamcity/cockroach/ci/tests/local_roachtest.sh +++ b/build/teamcity/cockroach/ci/tests/local_roachtest.sh @@ -8,6 +8,6 @@ source "$dir/teamcity-support.sh" # For $root source "$dir/teamcity-bazel-support.sh" # For run_bazel tc_start_block "Run local roachtests" -BAZEL_SUPPORT_EXTRA_DOCKER_ARGS="-e COCKROACH_DEV_LICENSE -e BUILD_VCS_NUMBER -e TC_BUILD_ID -e TC_BUILD_BRANCH" \ +BAZEL_SUPPORT_EXTRA_DOCKER_ARGS="-e LITERAL_ARTIFACTS_DIR=$root/artifacts -e COCKROACH_DEV_LICENSE -e BUILD_VCS_NUMBER -e TC_BUILD_ID -e TC_BUILD_BRANCH" \ run_bazel build/teamcity/cockroach/ci/tests/local_roachtest_impl.sh tc_end_block "Run local roachtests" diff --git a/build/teamcity/cockroach/ci/tests/local_roachtest_fips.sh b/build/teamcity/cockroach/ci/tests/local_roachtest_fips.sh index 0fd79cdf3548..160b3fd6aa4f 100755 --- a/build/teamcity/cockroach/ci/tests/local_roachtest_fips.sh +++ b/build/teamcity/cockroach/ci/tests/local_roachtest_fips.sh @@ -8,6 +8,6 @@ source "$dir/teamcity-support.sh" # For $root source "$dir/teamcity-bazel-support.sh" # For run_bazel tc_start_block "Run local roachtests" -BAZEL_SUPPORT_EXTRA_DOCKER_ARGS="-e COCKROACH_DEV_LICENSE -e BUILD_VCS_NUMBER -e TC_BUILD_ID -e TC_BUILD_BRANCH" \ +BAZEL_SUPPORT_EXTRA_DOCKER_ARGS="-e LITERAL_ARTIFACTS_DIR=$root/artifacts -e COCKROACH_DEV_LICENSE -e BUILD_VCS_NUMBER -e TC_BUILD_ID -e TC_BUILD_BRANCH" \ run_bazel_fips build/teamcity/cockroach/ci/tests/local_roachtest_fips_impl.sh tc_end_block "Run local roachtests" diff --git a/build/teamcity/cockroach/ci/tests/local_roachtest_impl.sh b/build/teamcity/cockroach/ci/tests/local_roachtest_impl.sh index b841a2d1a4ba..128def64f9a7 100755 --- a/build/teamcity/cockroach/ci/tests/local_roachtest_impl.sh +++ b/build/teamcity/cockroach/ci/tests/local_roachtest_impl.sh @@ -27,4 +27,5 @@ $BAZEL_BIN/pkg/cmd/roachtest/roachtest_/roachtest run acceptance kv/splits cdc/b --cockroach "$BAZEL_BIN/pkg/cmd/cockroach-short/cockroach-short_/cockroach-short" \ --workload "$BAZEL_BIN/pkg/cmd/workload/workload_/workload" \ --artifacts /artifacts \ + --artifacts-literal="${LITERAL_ARTIFACTS_DIR:-}" \ --teamcity