- Build Quality Checks - Visual Studio Marketplace
- Passing variables between jobs for Azure DevOps pipelines
- Azure DevOps: Leveraging Stages with YAML Objects
- Error TF400486 reording work items on backlog - Developer Community
- Define variables - Azure Pipelines | Microsoft Learn
- How to Preview and Test a Changing YAML Pipeline on Azure DevOps – RazorSPoint
- Terraform Pull Request Automation | Atlantis
- Project Documentation from Azure DevOps Wikis - Paul Hatcher
- TFS/Azure DevOps Code Statistics
Useful API endpoints
https://dev.azure.com/{organisation}/_apis/hooks/subscriptions
https://dev.azure.com/{organisation}/_apis/hooks/consumers
https://dev.azure.com/{organisation}/_apis/hooks/publishers
Recent PRs
https://dev.azure.com/{organisation}/{project}/_apis/git/pullrequests?searchCriteria.status=completed&api-version=6.0 https://dev.azure.com/{organisation}/_apis/git/pullrequests?searchCriteria.status=all&api-version=6.0
Azure Pipelines
Tasks to log all the files in the various working directories
- task: PowerShell@2
displayName: List contents of Build.ArtifactStagingDirectory
inputs:
targetType: "inline"
workingDirectory: '$(Build.ArtifactStagingDirectory)'
script: |
Get-ChildItem -Recurse |% { $_.FullName }
- task: PowerShell@2
displayName: List contents of Build.SourcesDirectory
inputs:
targetType: "inline"
workingDirectory: '$(Build.SourcesDirectory)'
script: |
Get-ChildItem -Recurse |% { $_.FullName }
- task: PowerShell@2
displayName: List contents of Pipeline.Workspace
inputs:
targetType: "inline"
workingDirectory: '$(Pipeline.Workspace)'
script: |
Get-ChildItem -Recurse |% { $_.FullName }
- task: PowerShell@2
displayName: List contents of Agent.BuildDirectory
inputs:
targetType: "inline"
workingDirectory: '$(Agent.BuildDirectory)'
script: |
Get-ChildItem -Recurse |% { $_.FullName }Setup
SDK usage
VssAadSettings.DefaultScopes is a property used in Azure DevOps to define the default OAuth 2.0 scopes required for authentication with Azure Active Directory (AAD).
Comparing history without creating a branch/PR
Create a URL like this, by hand!