Skip to content

Commit 93102e6

Browse files
authored
Write linux proxy logs to mount folder (#8295)
* ensure we write the log to the same root directory as what is being used for the proxy invocation * fix spacing * we should write these proxy logs to the same root folder that we start the proxy in
1 parent 9c221a0 commit 93102e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

eng/common/testproxy/test-proxy-tool.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ steps:
6363
6464
# nohup does NOT continue beyond the current session if you use it within powershell
6565
- bash: |
66-
nohup $(Build.BinariesDirectory)/test-proxy/test-proxy &>$(Build.SourcesDirectory)/test-proxy.log &
67-
66+
nohup $(Build.BinariesDirectory)/test-proxy/test-proxy &>${{ parameters.rootFolder }}/test-proxy.log &
67+
6868
echo $! > $(Build.SourcesDirectory)/test-proxy.pid
6969
echo "##vso[task.setvariable variable=PROXY_PID]$(cat $(Build.SourcesDirectory)/test-proxy.pid)"
7070
displayName: "Run the testproxy - linux/mac"

0 commit comments

Comments
 (0)