Skip to content

Commit ce31dc3

Browse files
trop[bot]John Kleinschmidt
authored andcommitted
ci: actually kill leftover processes on WOA testing (electron#20292)
* ci: only kill WOA processes if they are running (cherry picked from commit 844752c) * ci: actually kill leftover processes on WOA testing (cherry picked from commit a76d2d8)
1 parent 15c89c8 commit ce31dc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure-pipelines-woa.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ steps:
7777
python electron\script\verify-ffmpeg.py --build-dir out\Default --source-root %cd% --ffmpeg-path out\ffmpeg
7878
displayName: 'Verify ffmpeg'
7979

80-
- script: |
81-
taskkill /F /IM electron.exe
82-
taskkill /F /IM MicrosoftEdge.exe
80+
- powershell: |
81+
Get-Process | Where Name –Like "electron*" | Stop-Process
82+
Get-Process | Where Name –Like "MicrosoftEdge*" | Stop-Process
8383
displayName: 'Kill processes left running from last test run'
8484
condition: always()

0 commit comments

Comments
 (0)