File tree Expand file tree Collapse file tree
eng/pipelines/templates/jobs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,14 +45,20 @@ jobs:
4545 - checkout : self
4646 - checkout : azure-sdk-build-tools
4747
48- - pwsh : |
49- azcopy cp '${{ parameters.PartnerDropsBlobBase }}/${{ parameters.PartnerDropsBlobSourceSuffix }}/*' '${{ parameters.ArtifactsPath }}' --recursive=true
50- displayName: 'Copy from AzureSdkPartnerDrops'
51- env:
52- AZCOPY_AUTO_LOGIN_TYPE: SPN
53- AZCOPY_SPA_APPLICATION_ID: $(azuresdkpartnerdrops-application-id)
54- AZCOPY_SPA_CLIENT_SECRET: $(azuresdkpartnerdrops-service-principal-key)
48+ - task : AzurePowerShell@5
49+ displayName : ' Copy from azuresdkpartnerdrops'
5550 condition : and(succeeded(), ne(variables['SkipCopyFromPartnerDrops'], 'true'))
51+ inputs :
52+ azureSubscription : ' azuresdkpartnerdrops - Storage Partner Drops'
53+ ScriptType : ' InlineScript'
54+ azurePowerShellVersion : LatestVersion
55+ pwsh : true
56+ Inline : |
57+ azcopy copy '${{ parameters.PartnerDropsBlobBase }}/${{ parameters.PartnerDropsBlobSourceSuffix }}/*' '${{ parameters.ArtifactsPath }}' --recursive=true
58+ echo "Copied files:"
59+ dir '${{ parameters.ArtifactsPath }}' -r | % { $_.FullName }
60+ env :
61+ AZCOPY_AUTO_LOGIN_TYPE : ' PSCRED'
5662
5763 - ${{ if eq(parameters.ShouldSign, true) }} :
5864 - template : pipelines/steps/net-signing.yml@azure-sdk-build-tools
96102 - publish : ' ${{ parameters.ArtifactsPath }}'
97103 displayName : Upload Packages to Artifacts
98104 artifact : packages
99- condition : succeeded()
105+ condition : succeeded()
You can’t perform that action at this time.
0 commit comments