File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -258,7 +258,8 @@ extends:
258258
259259 Get-ChildItem -LiteralPath "$(System.ArtifactsDirectory)/agent" | ForEach-Object {
260260 $target=$_
261- Get-ChildItem -LiteralPath "$(System.ArtifactsDirectory)/agent/$target" -Include "*.zip","*.tar.gz" | ForEach-Object {
261+ $FullPath = $target.FullName
262+ Get-ChildItem -LiteralPath "$FullPath" -Include "*.zip","*.tar.gz" | ForEach-Object {
262263 $executable = $_
263264 Write-Host "Uploading $executable to BlobStorage vstsagentpackage/$container/$versionDir"
264265 Set-AzStorageBlobContent -Context $storageContext -Container $container -File "$(System.ArtifactsDirectory)/agent/$target/$executable" -Blob "$versionDir/$executable" -Force
@@ -275,6 +276,7 @@ extends:
275276 displayName : Delete Azure Blob container with test agent version
276277 condition : and(succeeded(), eq(variables.IsTestRun, 'True'))
277278 inputs :
279+ pwsh : true
278280 azurePowerShellVersion : ' LatestVersion'
279281 azureSubscription : ' azure-pipelines-agent-vstsagentpackage-oauth'
280282 scriptType : ' InlineScript'
You can’t perform that action at this time.
0 commit comments