@@ -99,7 +99,10 @@ extends:
9999 displayName : Docker NanoServer
100100 timeoutInMinutes : 150
101101 variables :
102- DUMPS_SHARE_MOUNT_ROOT : " C:/dumps-share"
102+ # This will get assigned to the DUMPS_SHARE_MOUNT_ROOT environment
103+ # variable in the stress test script. We need to keep the
104+ # DUMPS_SHARE_MOUNT_ROOT variable empty during the build step.
105+ DUMPS_SHARE_MOUNT_ROOT_PATH : " C:/dumps-share"
103106
104107 # The 1es-windows-2022-open image has an issue where the Chocolatey-installed V1 docker-compose takes precendence over the
105108 # V2 docker-compose required by the stress tests, see: https://github.com/actions/runner-images/issues/7080
@@ -140,6 +143,7 @@ extends:
140143
141144 - powershell : |
142145 cd '$(httpStressProject)'
146+ $env:DUMPS_SHARE_MOUNT_ROOT = $env:DUMPS_SHARE_MOUNT_ROOT_PATH
143147 $env:CLIENT_DUMPS_SHARE="$(Build.ArtifactStagingDirectory)/dumps/client/3.0"
144148 $env:SERVER_DUMPS_SHARE="$(Build.ArtifactStagingDirectory)/dumps/server/3.0"
145149 New-Item -Force $env:CLIENT_DUMPS_SHARE -ItemType Directory
@@ -152,6 +156,7 @@ extends:
152156
153157 - powershell : |
154158 cd '$(httpStressProject)'
159+ $env:DUMPS_SHARE_MOUNT_ROOT = $env:DUMPS_SHARE_MOUNT_ROOT_PATH
155160 $env:CLIENT_DUMPS_SHARE="$(Build.ArtifactStagingDirectory)/dumps/client/2.0"
156161 $env:SERVER_DUMPS_SHARE="$(Build.ArtifactStagingDirectory)/dumps/server/2.0"
157162 New-Item -Force $env:CLIENT_DUMPS_SHARE -ItemType Directory
@@ -164,6 +169,7 @@ extends:
164169
165170 - powershell : |
166171 cd '$(httpStressProject)'
172+ $env:DUMPS_SHARE_MOUNT_ROOT = $env:DUMPS_SHARE_MOUNT_ROOT_PATH
167173 $env:CLIENT_DUMPS_SHARE="$(Build.ArtifactStagingDirectory)/dumps/client/1.1"
168174 $env:SERVER_DUMPS_SHARE="$(Build.ArtifactStagingDirectory)/dumps/server/1.1"
169175 New-Item -Force $env:CLIENT_DUMPS_SHARE -ItemType Directory
0 commit comments