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
22
votes
3 answers

How to allow an empty string for a runtime parameter?

I'm just starting to work with runtime parameters in Azure Pipelines and there's something I can't quite figure out. Considering this Azure Pipelines YAML: parameters: - name: deployEnvironment displayName: Select your target environment. type:…
Walter Vos
  • 436
  • 1
  • 3
  • 13
22
votes
1 answer

Build hangs while building Wix Installer

I have a build setup that at the end builds a Wix project to create an MSI for my application. When I try to run the build it gets to the link step and hangs for about an hour before it gets cancelled. There's no error information or any information…
amura.cxg
  • 2,348
  • 3
  • 21
  • 44
22
votes
3 answers

.Net Core 3.1 not yet supported in Azure Pipelines hosted agents? Getting NETSDK1045

It's great that .Net Core 3.1 is out, but I'm not sure the Azure Pipelines hosted agents have caught up. My YAML pipeline specifies: pool: vmImage: 'windows-latest' and the dotnet restore step does this: (_CheckForUnsupportedNETCoreVersion…
EdH
  • 419
  • 2
  • 4
  • 13
22
votes
2 answers

Azure DevOps: Console output for green tests is missing

We migrated our NUnit tests execution from TeamCity to Azure DevOps. One of the biggest issues so far - there is no way to see Console output for green (passed) tests. Is this basic feature really missing in DevOps, or I simply do not know where to…
Roman
  • 4,531
  • 10
  • 40
  • 69
22
votes
10 answers

How to get the IP Address for Azure DevOps Hosted Agents to add to the white list

Is there a way to the IP address range for the hosted machine running? This is related to the Release Pipeline -> Hosted agent. Issue: Getting access denied on connection, as the connection is getting refused via Firewall. Need to whitelist the IP…
Gagan Jeet Singh
  • 241
  • 1
  • 2
  • 7
22
votes
4 answers

VS Test failing in Pipelines with missing 'Microsoft.NET.Test.Sdk'

I'm getting a failed builds due to the Visual Studio Test step failing in my Build Pipeline. I have a simple .NET Core v2.1 class library and associated MS Test library. I have 2 steps in my pipeline: A .NET Core build step, and A Visual Studio…
Kaine
  • 521
  • 1
  • 4
  • 12
22
votes
5 answers

Push to local Azure DevOps Git from Build Pipeline

Short version Can someone tell me how to set up a "Command Line Script" task within an Azure DevOps build pipeline that pushes changes to a local Git repository (in fact, the Git repository on which the pipeline is based)? No matter what I try, my…
jpvee
  • 913
  • 1
  • 15
  • 23
21
votes
1 answer

DotNetCoreCLI restore vs NuGetCommand restore

I am trying to understand the difference between the two nuget restore commands in Azure build pipeline: - task: NuGetCommand@2 inputs: restoreSolution: '$(solution)' and - task: DotNetCoreCLI@2 inputs: command: 'restore' projects:…
21
votes
2 answers

Azure Pipelines using YAML for multiple environments (stages) with different variable values but no YAML duplication

Let's suppose I have 3 environments on Azure: Dev, Test and Prod. I have the same pipeline for building and deploying the resources and the code for each one of the environments except for two differences: different trigger branch different…
21
votes
4 answers

Failed to use .NET SDK agent in Azure DevOps Build Pipeline

I have a ASP.NET Core 2.1 and added a nuget package of Microsoft.WindowsAzure.Storage , But after pushing the code to repo, the build pipeline occurs package error while running the build agent and is it necessary to add any other agents in build…
Vignesh Arvind
  • 531
  • 2
  • 7
  • 16
21
votes
4 answers

invalid from flag value build: pull access denied for build, repository does not exist or may require 'docker login'

I am trying to build a simple docker console project at azure DevOps pipeline, but i am unable to build the project. When i try to copy the code i get this error: invalid from flag value build: pull access denied for build, repository does not…
MiguelSlv
  • 14,067
  • 15
  • 102
  • 169
21
votes
5 answers

Azure Devops disable concurrent runs on the same pipeline

I am have 2 build agents and 8 pipelines in azure devops. If a run starts for pipeline A, and another run is triggered for the same pipeline Azure Devops will start a second run on the other agent without waiting for the first to finish. How do I…
cfbd
  • 980
  • 2
  • 9
  • 21
21
votes
3 answers

How to use Git LFS with Azure Repos and Pipelines

I have a project using Git LFS in Azure Repos with several binary image files being checked in using Git LFS. When my Azure Pipelines build performs a git pull, the image files are not pulled from Git LFS and I am left with several zero byte image…
Muhammad Rehan Saeed
  • 35,627
  • 39
  • 202
  • 311
21
votes
3 answers

Assets file project.assets.json not found when running a build on Azure Devops

I have a build pipeline configured for a Service Fabric solution on Azure DevOps like this: Everything was fine until a few days ago when the build started failing on a particular build agent (private), with the following error (for a few…
Rui Jarimba
  • 11,166
  • 11
  • 56
  • 86
21
votes
5 answers

No test assemblies found matching the pattern: **\*Test*.dll,!**\*TestAdapter.dll,!**\obj\**

I am trying to implement a Gated Check-In process in Azure DevOps (VSTS) based on the success of the unit tests. However, I am consistently getting this warning/error that assemblies are not found. ##[warning]No test assemblies found matching the…
Andy Miller
  • 211
  • 1
  • 2
  • 4