* 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 <45376673+scbedd@users.noreply.github.com>
17 lines
538 B
YAML
17 lines
538 B
YAML
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
|