File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,13 @@ if ((-Not [string]::IsNullOrWhiteSpace($ArchivesRoot))) {
8484$buildtreesRoot = Join-Path $WorkingRoot ' b'
8585$installRoot = Join-Path $WorkingRoot ' installed'
8686$packagesRoot = Join-Path $WorkingRoot ' p'
87+ $failureLogs = Join-Path $ArtifactStagingDirectory ' failure-logs'
8788
88- $env: AZCOPY_LOG_LOCATION = Join-Path $ArtifactStagingDirectory ' failure-logs/ azcopy-logs'
89+ $env: AZCOPY_LOG_LOCATION = Join-Path $failureLogs ' azcopy-logs'
8990$env: AZCOPY_JOB_PLAN_LOCATION = Join-Path $WorkingRoot ' azcopy-plans'
9091
92+ New-Item - Type Directory - Path $env: AZCOPY_LOG_LOCATION - Force | Out-Null
93+
9194$commonArgs = @ (
9295 " --x-buildtrees-root=$buildtreesRoot " ,
9396 " --x-install-root=$installRoot " ,
@@ -163,7 +166,6 @@ if ($lastLastExitCode -eq 0)
163166Write-Host " ##vso[task.setvariable variable=FAILURE_LOGS_EMPTY]$true "
164167exit $lastLastExitCode
165168
166- $failureLogs = Join-Path $ArtifactStagingDirectory ' failure-logs'
167169$failureLogsArg = " --failure-logs=$failureLogs "
168170$knownFailuresFromArgs = @ ()
169171if ($testFeatures ) {
You can’t perform that action at this time.
0 commit comments