File: test-proxy-tool-shutdown.yml

package info (click to toggle)
python-azure 20251014%2Bgit-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 766,472 kB
  • sloc: python: 6,314,744; ansic: 804; javascript: 287; makefile: 198; sh: 198; xml: 109
file content (10 lines) | stat: -rw-r--r-- 347 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
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'))