
AGluvna137688 (Community Member) asked a question.
I can see that instructions are posted for a linux build agent to download the zip via Curl; however, I am struggling to refactor the curl into Powershell to where I can get Azure DevOps to download the Pipeline zip file. Does anyone have a working example of the download process working on a Win Build agent?
Thank you
.png)
I was able to get this working...
- powershell: |
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
Invoke-RestMethod -Method Get -Uri https://downloads.veracode.com/securityscan/pipeline-scan-LATEST.zip -Proxy http://10.6.67.37:3128 -Outfile pipeline-scan-LATEST.zip
displayName: Download Veracode Pipeline Zip