Azure DevOps Build Snippets

by on under Azure
1 minute read

In starting to work with builds on Azure DevOps (the new incarnation of VSTS) I have found some snippets that have helped diagnose what is happening on the server of hosted builds.

# List all the files in a directory
Get-ChildItem -Path . -File -Recurse -ErrorAction SilentlyContinue | Select-Object FullName
# Print all the environment variables
Get-ChildItem Env: | Select-Object Key,Value
comments powered by Disqus