Update AzureFileCopy task and fix the syntax for specifying pool (#17013)

This commit is contained in:
Dongbo Wang 2022-03-16 15:55:27 -07:00 committed by GitHub
parent fa03f180e7
commit 8d0830133a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -68,7 +68,7 @@ steps:
}
displayName: Download and Capture NuPkgs
- task: AzureFileCopy@2
- task: AzureFileCopy@4
displayName: 'AzureBlob build info JSON file Copy'
inputs:
SourcePath: '$(BuildInfoJsonFile)'
@ -78,7 +78,7 @@ steps:
ContainerName: BuildInfo
condition: and(succeeded(), eq(variables['CopyMainBuildInfo'], 'YES'))
- task: AzureFileCopy@2
- task: AzureFileCopy@4
displayName: 'AzureBlob build info ''lts.json'' Copy when needed'
inputs:
SourcePath: '$(LtsBuildInfoJsonFile)'
@ -88,7 +88,7 @@ steps:
ContainerName: BuildInfo
condition: and(succeeded(), eq(variables['CopyLTSBuildInfo'], 'YES'))
- task: AzureFileCopy@2
- task: AzureFileCopy@4
displayName: 'AzureBlob build info ''Major-Minor.json'' Copy when needed'
inputs:
SourcePath: '$(VersionBuildInfoJsonFile)'

View File

@ -59,7 +59,7 @@ jobs:
Write-Host "##$vstsCommand"
displayName: Determine file to upload
- task: AzureFileCopy@2
- task: AzureFileCopy@4
displayName: 'AzureBlob pwsh.deps.json file Copy'
inputs:
SourcePath: '$(FileToUpload)'

View File

@ -25,7 +25,8 @@ stages:
displayName: Name the build
condition: succeeded()
pool: PowerShell1ES
pool:
name: PowerShell1ES
demands:
- ImageOverride -equals PSMMS2019-Secure