diff --git a/tools/internal_ci/helper_scripts/prepare_build_windows.bat b/tools/internal_ci/helper_scripts/prepare_build_windows.bat index 49dacf43586..bffce933d0d 100644 --- a/tools/internal_ci/helper_scripts/prepare_build_windows.bat +++ b/tools/internal_ci/helper_scripts/prepare_build_windows.bat @@ -12,6 +12,9 @@ @rem See the License for the specific language governing permissions and @rem limitations under the License. +@rem allow timing of how long the script takes to run. +echo "!TIME!: prepare_build_windows.bat started" + @rem make sure msys binaries are preferred over cygwin binaries @rem set path to python3.7 @rem set path to CMake @@ -62,7 +65,8 @@ set DOTNET_CLI_TELEMETRY_OPTOUT=true @rem Only install Python interpreters if we are running Python tests If "%PREPARE_BUILD_INSTALL_DEPS_PYTHON%" == "true" ( - powershell -File tools\internal_ci\helper_scripts\install_python_interpreters.ps1 || goto :error + echo "!TIME!: invoking install_python_interpreters.ps1" + powershell -File tools\internal_ci\helper_scripts\install_python_interpreters.ps1 || goto :error ) @rem Needed for uploading test results to bigquery @@ -70,7 +74,9 @@ python -m pip install google-api-python-client oauth2client six==1.16.0 || goto git submodule update --init || goto :error +echo "!TIME!: prepare_build_windows.bat exiting with success" goto :EOF :error +echo "!TIME!: prepare_build_windows.bat exiting with error" exit /b 1 diff --git a/tools/internal_ci/windows/grpc_build_artifacts.bat b/tools/internal_ci/windows/grpc_build_artifacts.bat index 7f8c799268e..e7d3474d302 100644 --- a/tools/internal_ci/windows/grpc_build_artifacts.bat +++ b/tools/internal_ci/windows/grpc_build_artifacts.bat @@ -25,7 +25,6 @@ endlocal @rem enter repo root cd /d %~dp0\..\..\.. -set PREPARE_BUILD_INSTALL_DEPS_CSHARP=true set PREPARE_BUILD_INSTALL_DEPS_PYTHON=true call tools/internal_ci/helper_scripts/prepare_build_windows.bat || exit /b 1