fix invocation of respawn scripts on windows (#28366)

reviewable/pr28393/r1
Jan Tattermusch 3 years ago committed by GitHub
parent 8afb68238b
commit 769369ad3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      tools/internal_ci/helper_scripts/move_src_tree_and_respawn_itself.bat
  2. 5
      tools/internal_ci/windows/bazel_rbe.bat
  3. 5
      tools/internal_ci/windows/grpc_build_artifacts.bat
  4. 5
      tools/internal_ci/windows/grpc_build_packages.bat
  5. 5
      tools/internal_ci/windows/grpc_distribtests.bat
  6. 5
      tools/internal_ci/windows/grpc_distribtests_standalone.bat
  7. 5
      tools/internal_ci/windows/grpc_run_tests_matrix.bat

@ -20,10 +20,18 @@
@rem Since batch scripts don't support the "source" unix command,
@rem invoking this script is a bit trickier than on unix.
@rem This script should be invoked from the CI script like this:
@rem Note that honoring the pattern (including e.g. EnableDelayedExpansion)
@rem is critical for correctly propagating the exitcode.
@rem TODO(jtattermusch): find a way to simplify the invocation of the respawn script.
@rem
@rem setlocal EnableDelayedExpansion
@rem IF "%cd%"=="T:\src" (
@rem call %~dp0\..\..\..\tools\internal_ci\helper_scripts\move_src_tree_and_respawn_itself.bat %0
@rem exit /b %errorlevel%
@rem echo respawn script has finished with exitcode !errorlevel!
@rem exit /b !errorlevel!
@rem )
@rem endlocal
@echo off

@ -14,10 +14,13 @@
@rem Avoid slow finalization after the script has exited.
@rem See the script's prologue for info on the correct invocation pattern.
setlocal EnableDelayedExpansion
IF "%cd%"=="T:\src" (
call %~dp0\..\..\..\tools\internal_ci\helper_scripts\move_src_tree_and_respawn_itself.bat %0
exit /b %errorlevel%
echo respawn script has finished with exitcode !errorlevel!
exit /b !errorlevel!
)
endlocal
@rem TODO(jtattermusch): make this generate less output
@rem TODO(jtattermusch): use tools/bazel script to keep the versions in sync

@ -14,10 +14,13 @@
@rem Avoid slow finalization after the script has exited.
@rem See the script's prologue for info on the correct invocation pattern.
setlocal EnableDelayedExpansion
IF "%cd%"=="T:\src" (
call %~dp0\..\..\..\tools\internal_ci\helper_scripts\move_src_tree_and_respawn_itself.bat %0
exit /b %errorlevel%
echo respawn script has finished with exitcode !errorlevel!
exit /b !errorlevel!
)
endlocal
@rem Boringssl build no longer supports yasm
choco uninstall yasm -y --limit-output

@ -14,10 +14,13 @@
@rem Avoid slow finalization after the script has exited.
@rem See the script's prologue for info on the correct invocation pattern.
setlocal EnableDelayedExpansion
IF "%cd%"=="T:\src" (
call %~dp0\..\..\..\tools\internal_ci\helper_scripts\move_src_tree_and_respawn_itself.bat %0
exit /b %errorlevel%
echo respawn script has finished with exitcode !errorlevel!
exit /b !errorlevel!
)
endlocal
@rem enter repo root
cd /d %~dp0\..\..\..

@ -14,10 +14,13 @@
@rem Avoid slow finalization after the script has exited.
@rem See the script's prologue for info on the correct invocation pattern.
setlocal EnableDelayedExpansion
IF "%cd%"=="T:\src" (
call %~dp0\..\..\..\tools\internal_ci\helper_scripts\move_src_tree_and_respawn_itself.bat %0
exit /b %errorlevel%
echo respawn script has finished with exitcode !errorlevel!
exit /b !errorlevel!
)
endlocal
@rem enter repo root
cd /d %~dp0\..\..\..

@ -14,10 +14,13 @@
@rem Avoid slow finalization after the script has exited.
@rem See the script's prologue for info on the correct invocation pattern.
setlocal EnableDelayedExpansion
IF "%cd%"=="T:\src" (
call %~dp0\..\..\..\tools\internal_ci\helper_scripts\move_src_tree_and_respawn_itself.bat %0
exit /b %errorlevel%
echo respawn script has finished with exitcode !errorlevel!
exit /b !errorlevel!
)
endlocal
@rem enter repo root
cd /d %~dp0\..\..\..

@ -14,10 +14,13 @@
@rem Avoid slow finalization after the script has exited.
@rem See the script's prologue for info on the correct invocation pattern.
setlocal EnableDelayedExpansion
IF "%cd%"=="T:\src" (
call %~dp0\..\..\..\tools\internal_ci\helper_scripts\move_src_tree_and_respawn_itself.bat %0
exit /b %errorlevel%
echo respawn script has finished with exitcode !errorlevel!
exit /b !errorlevel!
)
endlocal
@rem enter repo root
cd /d %~dp0\..\..\..

Loading…
Cancel
Save