Browse Source

Merge pull request #41463 from StefanScherer/win-investigate-cidut-out

Windows CI: Fix collecting the logs of the daemon under test
Sebastiaan van Stijn 4 years ago
parent
commit
0bad48279e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hack/ci/windows.ps1

+ 1 - 0
hack/ci/windows.ps1

@@ -1038,6 +1038,7 @@ Finally {
 
     # Save the daemon under test log
     if ($daemonStarted -eq 1) {
+        Set-Location "$env:SOURCES_DRIVE`:\$env:SOURCES_SUBDIR\src\github.com\docker\docker"
         Write-Host -ForegroundColor Green "INFO: Saving daemon under test log ($env:TEMP\dut.out) to bundles\CIDUT.out"
         Copy-Item  "$env:TEMP\dut.out" "bundles\CIDUT.out" -Force -ErrorAction SilentlyContinue
         Write-Host -ForegroundColor Green "INFO: Saving daemon under test log ($env:TEMP\dut.err) to bundles\CIDUT.err"