-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync eng/common directory with azure-sdk-tools for PR 7877 (#34774)
* create necessary eng/common changes to allow proxy to be shut down --------- Co-authored-by: Scott Beddall (from Dev Box) <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters