Attempt to avoid VCVARSALL.BAT breakage entirely.
Change-Id: I9b4b4e64f463e5b55fbc9c22e12b7d3e7fecc172
Reviewed-on: https://code-review.googlesource.com/c/re2/+/44222
Reviewed-by: Paul Wankadia <junyer@google.com>
diff --git a/kokoro/bazel.sh b/kokoro/bazel.sh
index 345df21..2a21167 100755
--- a/kokoro/bazel.sh
+++ b/kokoro/bazel.sh
@@ -6,8 +6,8 @@
case "${KOKORO_JOB_NAME}" in
*/windows-*)
choco upgrade bazel -y -i
- # VCVARSALL.BAT seems to break otherwise. :/
- choco install typescript-vs2017 -y -i
+ # The automagical configuration seems to break. :/
+ export BAZEL_VC='C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC'
;;
*)
# Use the script provided by Kokoro.