targetPath: $(Build.SourcesDirectory)/bin/Logs
continueOnError: true
condition: always()
-
- # Kill tasks that hold onto files on Windows. Otherwise git clean
- # may fail for later jobs on the same agent.
- - ${{ if eq(parameters.osGroup, 'Windows_NT') }}:
- - script: eng/kill_tasks.cmd
- displayName: Kill tasks that hold on to files
- condition: always()
+++ /dev/null
-@if not defined _echo @echo off
-setlocal EnableDelayedExpansion
-
-:: Check if VBCSCompiler.exe is running
-tasklist /fi "imagename eq VBCSCompiler.exe" |find ":" > nul
-:: Compiler is running if errorlevel == 1
-if errorlevel 1 (
- echo Stop VBCSCompiler.exe execution.
- for /f "tokens=2 delims=," %%F in ('tasklist /nh /fi "imagename eq VBCSCompiler.exe" /fo csv') do taskkill /f /PID %%~F
-)