-
Notifications
You must be signed in to change notification settings - Fork 128
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 5224 (#4274)
* feature/upload-proxy-artifact * update template to ensure that having the file in use on windows doesn't break the build * incoming PR fixes where test-proxy stores its log. as as result, we also need to update the location of where we read out the test-proxy log Co-authored-by: scbedd <[email protected]>
- Loading branch information
Showing
3 changed files
with
19 additions
and
3 deletions.
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,16 @@ | ||
parameters: | ||
rootFolder: '$(Build.SourcesDirectory)' | ||
|
||
steps: | ||
- pwsh: | | ||
Copy-Item -Path "${{ parameters.rootFolder }}/test-proxy.log" -Destination "${{ parameters.rootFolder }}/proxy.log" | ||
displayName: Copy Log File | ||
- template: ../pipelines/templates/steps/publish-artifact.yml | ||
parameters: | ||
ArtifactName: "$(System.JobName)-proxy-logs" | ||
ArtifactPath: "${{ parameters.rootFolder }}/proxy.log" | ||
|
||
- pwsh: | | ||
Remove-Item -Force ${{ parameters.rootFolder }}/proxy.log | ||
displayName: Cleanup Copied Log File |
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
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