diff --git a/ci/do_ci.sh b/ci/do_ci.sh index 79797279b4..9a56aa3dd9 100755 --- a/ci/do_ci.sh +++ b/ci/do_ci.sh @@ -114,8 +114,8 @@ EOF examples/plugin/load/load_plugin_example ${PLUGIN_DIR}/libexample_plugin.so /dev/null exit 0 elif [[ "$1" == "bazel.test" ]]; then - bazel build $BAZEL_OPTIONS //... - bazel test $BAZEL_TEST_OPTIONS //... + bazel --output_user_root=~/.cache/bazel build $BAZEL_OPTIONS //... + bazel --output_user_root=~/.cache/bazel test $BAZEL_TEST_OPTIONS //... exit 0 elif [[ "$1" == "bazel.legacy.test" ]]; then # we uses C++ future and async() function to test the Prometheus Exporter functionality,