File size: 347 Bytes
065fee7
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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'))