Azure Pipelines

azure.microsoft.com/services/devops/pipelines

Learn

Latest features

Agents

Definition

Templates

Template types & usage

Variables

Define 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

Recipes

Code coverage

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

Publish to NuGet feeds

- 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

Last updated