diff --git a/scripts/azure-pipelines/osx/azure-pipelines.yml b/scripts/azure-pipelines/osx/azure-pipelines.yml index d424602a472883..8f6910c6113d2c 100644 --- a/scripts/azure-pipelines/osx/azure-pipelines.yml +++ b/scripts/azure-pipelines/osx/azure-pipelines.yml @@ -31,6 +31,20 @@ jobs: - name: VCPKG_DOWNLOADS value: /Users/vcpkg/Data/downloads steps: + - task: AzureCLI@2 + inputs: + azureSubscription: 'VcpkgPrFleet' + scriptType: 'pscore' + scriptLocation: 'inlineScript' + inlineScript: pwsh -Command 'Write-Output stdout; Write-Error stderr; Write-Output stdout; exit 0' + failOnStandardError: true + - task: PowerShell@2 + inputs: + pwsh: true + targetType: "inline" + script: pwsh -Command 'Write-Output stdout; Write-Error stderr; Write-Output stdout; exit 0' + failOnStderr: true + - script: exit 10 - bash: | sudo mkdir ${{ variables.VCPKG_DOWNLOADS }} || 0 sudo chmod 777 ${{ variables.VCPKG_DOWNLOADS }} || 0 diff --git a/scripts/azure-pipelines/windows/azure-pipelines.yml b/scripts/azure-pipelines/windows/azure-pipelines.yml index e48a2ef54019d4..9a2cc495171d31 100644 --- a/scripts/azure-pipelines/windows/azure-pipelines.yml +++ b/scripts/azure-pipelines/windows/azure-pipelines.yml @@ -34,6 +34,20 @@ jobs: - name: ExtraChecksTriplet value: x86-windows steps: + - task: AzureCLI@2 + inputs: + azureSubscription: 'VcpkgPrFleet' + scriptType: 'pscore' + scriptLocation: 'inlineScript' + inlineScript: pwsh -Command 'Write-Output stdout; Write-Error stderr; Write-Output stdout; exit 0' + failOnStandardError: true + - task: PowerShell@2 + inputs: + pwsh: true + targetType: "inline" + script: pwsh -Command 'Write-Output stdout; Write-Error stderr; Write-Output stdout; exit 0' + failOnStderr: true + - script: exit 10 - script: .\bootstrap-vcpkg.bat displayName: 'Bootstrap vcpkg' condition: eq('use default', '${{ parameters.vcpkgToolSha }}')