Azure Pipelines
→ azure.microsoft.com/services/devops/pipelines
Quick links
Learn
Latest features
- Caching and faster artifacts in Azure Pipelines - July 24, 2019
- New IP firewall rules for Azure DevOps Services - May 31, 2019
Agents
- Microsoft-hosted agents (public IP ranges)
Definition
Templates
Variables
Examples
Example of pipelines in MicrosoftDocs GitHub repositories.
.NET Blog article on How the .NET Team uses Azure Pipelines to produce Docker Images
Tutorials
- Tutorial: Immutable infrastructure for Azure, using VSTS, Terraform, Packer and Ansible May 23, 2018
Recipes
Code coverage
- Generate Code Coverage Reports with ReportGenerator in Azure DevOps - July 17, 2019
- Uploading to Codecov just got easier - November 13, 2019
Permissions
By default, it won't work for Artifacts, you need to click on "..." in the permission pane of your feed and click on "Allow project-scoped builds".
Secure and share packages using feed permissions
Yaml
- task: NuGetAuthenticate@0
displayName: 'Authenticate to NuGet feed'
- task: NuGetCommand@2
displayName: 'Push NuGet packages'
inputs:
command: 'push'
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: $(azure.artifact.feed.id)
allowPackageConflicts: true