Download the latest artifacts for the given branches automatically
.gitignore | ||
listArtifacts.ps1 | ||
listBuilds.ps1 | ||
main.ps1 | ||
README.md |
Azure DevOps artifacts downloader
Getting Started
Requierements
- Powershell > 5
Configure
Edit main.ps1
and replace all 4 first variables to contains the information
of your repository
$token = 'ZW5ndXllbjpnN25h...' # replace this
$instance = 'dev.azure.com/myorganization' # replace this
$project = 'myproject' # replace this
$branches = 'V1.0.0.0', 'V1.0.0.1' # replace this
$outDir = "$PSScriptRoot\output" # optionnally replace the output path
Execute
Open a powershell terminal and run the main.ps1