ci: only kill WOA processes if they are running (#20274)

This commit is contained in:
John Kleinschmidt 2019-09-18 16:44:48 -04:00 committed by GitHub
parent b0fe3e20e6
commit afc59aefb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,8 +77,8 @@ steps:
python electron\script\verify-ffmpeg.py --build-dir out\Default --source-root %cd% --ffmpeg-path out\ffmpeg
displayName: 'Verify ffmpeg'
- script: |
taskkill /F /IM electron.exe
taskkill /F /IM MicrosoftEdge.exe
- powershell: |
Get-Process | Where Name Like "electron.exe*" | Stop-Process
Get-Process | Where Name Like "MicrosoftEdge.exe*" | Stop-Process
displayName: 'Kill processes left running from last test run'
condition: always()