* create necessary eng/common changes to allow proxy to be shut down --------- Co-authored-by: Scott Beddall (from Dev Box) <scbedd@microsoft.com>
11 lines
347 B
YAML
11 lines
347 B
YAML
steps:
|
|
- pwsh: |
|
|
Stop-Process -Id $(PROXY_PID)
|
|
displayName: 'Shut down the testproxy - windows'
|
|
condition: and(succeeded(), eq(variables['Agent.OS'],'Windows_NT'))
|
|
|
|
- bash: |
|
|
kill -9 $(PROXY_PID)
|
|
displayName: "Shut down the testproxy - linux/mac"
|
|
condition: and(succeeded(), ne(variables['Agent.OS'],'Windows_NT'))
|