diff options
author | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2019-03-20 14:47:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-20 14:47:09 -0700 |
commit | 69dc790d171783584f5af3a5da60a25e2c301899 (patch) | |
tree | d1980d6c2b2de9369449316af3b728604e9ce854 | |
parent | 0eae19e1754517085d38df2a48861c2370c26eea (diff) | |
download | coreclr-69dc790d171783584f5af3a5da60a25e2c301899.tar.gz coreclr-69dc790d171783584f5af3a5da60a25e2c301899.tar.bz2 coreclr-69dc790d171783584f5af3a5da60a25e2c301899.zip |
Remove kill-tasks step in eng/build-job.yml and kill_tasks.cmd file (#23351)
-rw-r--r-- | eng/build-job.yml | 7 | ||||
-rw-r--r-- | eng/kill_tasks.cmd | 10 |
2 files changed, 0 insertions, 17 deletions
diff --git a/eng/build-job.yml b/eng/build-job.yml index 7e9f631c01..1d3cde4baf 100644 --- a/eng/build-job.yml +++ b/eng/build-job.yml @@ -195,10 +195,3 @@ jobs: 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() diff --git a/eng/kill_tasks.cmd b/eng/kill_tasks.cmd deleted file mode 100644 index ee7099c94d..0000000000 --- a/eng/kill_tasks.cmd +++ /dev/null @@ -1,10 +0,0 @@ -@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 -) |