Questions tagged [azure-pipelines]

Azure Pipelines provides build services (CI), that are free for open source projects and available in the GitHub marketplace. Azure Pipelines also provides release management for continuous delivery (CD) to any cloud and on-premises servers. With Azure Pipelines, you’ll be able to continuously build, test and deploy to any platform and cloud. **Do not** use this tag for Azure Data Factory pipeline questions.

Azure Pipelines is a Microsoft Azure DevOps service that offers cloud-hosted pipelines for Linux, macOS, and Windows with 10 free parallel jobs and unlimited minutes for open source projects.

Any language, platform, and cloud: Build, test, and deploy Node.js, Python, Java, PHP, Ruby, Go, C/C++, C#, Android, and iOS apps. Run in parallel on Linux, macOS, and Windows. Deploy to cloud providers like Azure, AWS, and GCP. Distribute mobile apps through beta channels and app stores.

Native container support: Create new containers with ease and push them to any registry. Deploy containers to independent hosts or Kubernetes.

Advanced workflows and features: Easy build chaining and multi-phased builds. Support for YAML, test integration, release gates, reporting, and more.

Extensible: Use a range of build, test, and deployment tasks built by the community – hundreds of extensions from Slack to SonarCloud. Deploy from other CI systems, like Jenkins. Webhooks and REST APIs help you integrate.

Free, to you from Azure Pipelines: Free cloud-hosted builds for public and private repositories.


Pricing

For Open source projects, get unlimited users and build time for free with up to 10 parallel jobs on Linux, Windows or macOS hosted on servers by Microsoft.

For small teams the first 5 users are free:

  • Azure pipelines: 1 hosted job with 1,800 minutes per month for CI/CD and 1 self-hosted job
  • Azure boards: Work item tracking and Kanban boards
  • Azure repos: Unlimited public and/or private Git repos
  • Azure artifacts: Package management
  • Load testing (20,000 VUMs/month)
  • Unlimited stakeholders

For growing teams, there are additional non-commitment monthly user plans available for additional team members starting at around $6 per user per month. Find out more here.


Updates

New features and updates are introduced to Azure DevOps Services every 3 weeks. Users will receive new features before they are rolled up into an update to the on-premises Azure DevOps Server product. The release notes for each deployment is available by RSS feed and is summarized into an Azure DevOps Features timeline available here.


Tag usage

It is recommended to use the tag along with the specific product area tags:


Other resources

We have channels that you can also voice your concerns, FAQs, documentation and submit an idea:

11344 questions
136
votes
6 answers

Is there a tool to validate an Azure DevOps Pipeline locally?

When making changes to YAML-defined Azure DevOps Pipelines, it can be quite tedious to push changes to a branch just to see the build fail with a parsing error (valid YAML, but invalid pipeline definition) and then try to trial-and-error fix the…
Tomas Aschan
  • 58,548
  • 56
  • 243
  • 402
120
votes
3 answers

What is the difference between Pipeline and Release Pipeline in azure devops?

An yaml file is generated while you choose this option shown below: In this yaml file, you can define an entire deployment cycle starting from restore -> build -> run tests -> publish and -> deploy to azure app service web app. then, why there is…
111
votes
12 answers

Azure DevOps: User lacks permission to complete this action. You need to have 'AddPackage'

I get an error: User XXX lacks permission to complete this action. You need to have 'AddPackage' when trying to push a nuget package to Azure DevOps artifacts. I am the administrator This is the stage: - stage: displayName: 'Release' …
diegosasw
  • 13,734
  • 16
  • 95
  • 159
105
votes
5 answers

Azure DevOps, YAML release pipelines?

I am following this process to create a YAML build pipeline for a .NET Core Web API project: https://learn.microsoft.com/en-us/azure/devops/pipelines/get-started-yaml?view=vsts When it comes to releasing it, I note that the (recently renamed) Azure…
78
votes
3 answers

Multiple YAML build pipelines in Azure DevOps

I'm currently trying to create multiple build pipelines for my Angular app in Azure DevOps using the new YAML way. I used to create a new build pipeline for the different environments I've set up (dev, staging, prod) when I was using the "legacy"…
Thomas
  • 4,030
  • 4
  • 40
  • 79
77
votes
11 answers

Azure DevOps pipeline release Error: No package found with specified pattern: D:\a\r1\a\**\*.zip

I have an ASP.NET Core project in Azure DevOps repository and it gets built OK using the DevOps build pipeline. However, the release over that builds always fails with this error: Error: No package found with specified pattern:…
Tohid
  • 6,175
  • 7
  • 51
  • 80
76
votes
13 answers

Error 'No agent could be found with the following capabilities: msbuild, visualstudio, vstest'

I'm setting up a new build server using TFS 2015 and after I configured the agent, when I tried to queue a build I got this error: No agent could be found with the following capabilities: msbuild, visualstudio, vstest How can this be resolved?
Jean Jimenez
  • 4,732
  • 5
  • 24
  • 37
73
votes
7 answers

how can I use IF ELSE in variables of azure DevOps yaml pipeline with variable group?

I'm trying to assign one of 2 values to a variable in addition to variable group and can't find the reference that how to use IF ELSE. Basically I need to convert this jerkins logic to azure DevOps. Jenkins if (branch = 'master') { env = 'a' }…
kevmando
  • 917
  • 1
  • 10
  • 17
70
votes
8 answers

Triggering Azure DevOps builds based on changes to sub folders

I have a Visual Studio solution with multiple projects, each project is an individual microservice. It is very convenient to the development team to have all the services in the same solution, and git repo, as services can call each…
Slicc
  • 3,217
  • 7
  • 35
  • 70
66
votes
5 answers

UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress

Yesterday, I stopped a Helm upgrade when it was running on a release pipeline in Azure DevOps and the followings deployments failed. I tried to see the chart that has failed with the aim of delete it but the chart of the microservice ("auth")…
63
votes
2 answers

Change current working directory in Azure Pipelines

I'm developing a CI for Python package in Azure Pipelines (https://github.com/scikit-image/scikit-image/blob/azure-pipelines/azure-pipelines.yml). At some point, I need to step out of the source code directory to allow pytest to discover an…
soupault
  • 6,089
  • 4
  • 24
  • 35
61
votes
10 answers

Share variables across stages in Azure DevOps Pipelines

I am trying to figure out how to share custom variables across ADO pipelines in my script. Below is my script with 2 stages. I am setting the curProjVersion as an output variable and trying to access it from a different stage. Am I doing it…
zooes
  • 1,280
  • 3
  • 15
  • 21
60
votes
7 answers

Can Conditional Variable Assignment be Done in Azure Pipelines?

Azure Pipelines has Expressions and Conditions, but I can find no way to assign one of two values to a variable, based on a condition. Is there any way to accomplish what this pseudo-code would? ${{ if endsWith(…
Mike Murray
  • 1,201
  • 1
  • 9
  • 12
58
votes
6 answers

How to resolve "No hosted parallelism has been purchased or granted" in free tier?

I've just started with Azure DevOps pipelines and just created a very simple pipeline with a Maven task. For now I don't care for parallelism and I'm not sure in which way I've added it to my pipeline. Is there any way to use the Maven task on the…
Apollo
  • 1,296
  • 2
  • 11
  • 24
56
votes
4 answers

Create a new pipeline from existing YML file in the repository (Azure Pipelines)

Usually, I create a new build pipeline via the Azure DevOps portal. Then, the editor will take me through the steps of choosing the project source, repository, and template. After that, I will have an option to create a new branch or commit directly…
Lam Le
  • 1,489
  • 3
  • 14
  • 31
1
2 3
99 100