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
3
votes
1 answer

Debugging in Azure DevOps Yaml Pipeline

I have below PowerShell script in my Yaml pipeline, where I am trying to add Path in environmental variable Path, I am not getting any error but my test cases is failing which is dependent on one of the path variable I am setting below. Is there a…
ZZZSharePoint
  • 1,163
  • 1
  • 19
  • 54
3
votes
1 answer

Use NuGetCommand@2 to push packages to nuget.org

The documentation here says To publish to an external NuGet feed, you must first create a service connection to point to that feed.... It then provides this YAML: - task: NuGetAuthenticate@0 inputs: nuGetServiceConnections: '
user3230660
3
votes
3 answers

Post cancellation task in Azure Pipelines

We have a scenario where once we manually cancel a pipeline in Azure DevOps, we need to terminate a particular process (exe). We wanted to know how can a task be triggered in YAML post cancellation, to achieve this.
3
votes
2 answers

Is anyone else having trouble using host.docker.internal in azure pipelines

It seems to have stopped working recently. I use docker compose to run some microservices so that unit tests can use them. Some of the microservices talk to each other, so they use a configuration value for the base URL. This is an example of my…
zXynK
  • 1,101
  • 16
  • 30
3
votes
2 answers

Code coverage - Azure Pipelines SonarQube

I was using Azure pipelines to run Unit tests and SonarQube integration. When I use cobertura for unit tests, I am unable to get code coverage results passed onto SonarQube, although I see the results in pipeline logs. However, this same thing works…
3
votes
2 answers

How do you specify the sourceBranch for a Run of Pipelines via the REST API?

I've been trying to run a pipeline for a particular branch of the repository I'm using. In the UI, there is a convenient option, but I don't understand what to try in the request. No matter what I do I always run from master. How do I change that?…
Dimitar
  • 127
  • 1
  • 3
  • 8
3
votes
1 answer

Not getting any values from variables in variable groups in Azure Devops pipeline

I am really struggling with some variables which I have in my variable group named 'android-pipeline'. Inside this variable group, I have some variables with values. But when I am running the pipeline it cannot read the values inside my variable…
Henkie85
  • 197
  • 2
  • 15
3
votes
1 answer

Can DotNetCoreCLI build solution?

I have tried in my azure build pipeline to set a DotNetCoreCLI build task to build a solution but I just get an error: MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or…
3
votes
2 answers

Azure Pipelines parameter value from variable template

We would like to deploy components of our application to developer's local machines and want it to be easy enough for our co-workers to use and easy enough for us to maintain. These are virtual machines with a certain naming convention, for…
3
votes
2 answers

Azure Pipeline: Passing variable to multiple stages

is it possible to declare a variable and then pass it downstream? I have an image below StageA -> StageB -> StageC where I obtain a url for my storage account on StageA, and I want to use it for both Stage B and StageC But if I use the…
3
votes
1 answer

Build Validation across different Projects

I am stuck in the following Situation. We got an Azure DevOps Organisation with different Projects. The goal is to store all Pipelines and Releases in the "Operations" Project. The benefit of this is, to keep the individual teams away from dealing…
Y-Peter
  • 47
  • 1
  • 6
3
votes
1 answer

Incremental redeployment of an ARM Template with Role Assignments throws an error

If I use Azure Pipelines to do an 'Incremental' 'Resource Group' scoped deployment of an ARM template containing Role Assignments, it seems I can't rerun/redeploy the pipeline without receiving an error on the Role Assignment…
3
votes
1 answer

How to create a file in during Azure Pipeline that includes build.* variables

I need to create the following json structure and include it with my .NET application using Azure Pipelines and it is not clear to me how to do…
Chris Keller
  • 235
  • 3
  • 9
3
votes
1 answer

Per-month or per-minute billing of Azure Devops Pipelines parallel jobs

My question is, are the number of parallel DevOps jobs charged per-second, per-minute, or only per month? Especially when evaluating setups (we're in the process of migrating from a TeamCity rig), we try different configurations of cloud-hosted vs…
Erik A. Brandstadmoen
  • 10,430
  • 2
  • 37
  • 55
3
votes
2 answers

Unable to run az pipeline commands within Azure DevOps Task

Trying to dynamically retrieve all the variables from a variable group via Azure DevOps task in a YAML Pipeline. Originally tried leveraging the AzureCLI@2 task with the following code to retrieve the variableGroupID which would be used to get the…
DreadedFrost
  • 2,602
  • 1
  • 11
  • 29