AzurePowerShell: exit $LASTEXITCODE (#35838)
This commit is contained in:
Родитель
0a0a6a3214
Коммит
d2af737b1d
|
@ -81,7 +81,10 @@ steps:
|
|||
--service="${{ parameters.ServiceDirectory }}"
|
||||
--toxenv="${{ parameters.ToxTestEnv }}"
|
||||
--injected-packages="${{ parameters.InjectedPackages }}"
|
||||
${{ parameters.ToxEnvParallel }}
|
||||
${{ parameters.ToxEnvParallel }};
|
||||
Write-Host "Last exit code: $LASTEXITCODE";
|
||||
exit $LASTEXITCODE;
|
||||
|
||||
- ${{ else }}:
|
||||
- task: PythonScript@0
|
||||
displayName: 'Run Tests'
|
||||
|
@ -131,7 +134,9 @@ steps:
|
|||
scripts/devops_tasks/dispatch_tox.py
|
||||
"$(TargetingString)"
|
||||
--service="${{ parameters.ServiceDirectory }}"
|
||||
--toxenv="samples"
|
||||
--toxenv="samples";
|
||||
Write-Host "Last exit code: $LASTEXITCODE";
|
||||
exit $LASTEXITCODE;
|
||||
|
||||
- ${{ else }}:
|
||||
- task: PythonScript@0
|
||||
|
|
Загрузка…
Ссылка в новой задаче