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

azure devops build pipeline reduce the timeout to 30 minutes

Is there a way to change the timeout for build pipeline, currently the pipeline time's out after 60 mintues. I want to reduce it to 30 minutes. I looked at all the organization settings and project settings, but not able to find anything on the…
harishr
  • 17,807
  • 9
  • 78
  • 125
24
votes
3 answers

Azure DevOps how to get custom build number format to YAML build pipelines?

I have a build number format "$(BuildDefinitionName)-$(Rev:.r)" which I can put into the visual designer options and it works great. However, now I would like to start to use new YAML build pipelines but I cannot figure out how I could put that…
Kamsiinov
  • 1,315
  • 2
  • 20
  • 50
24
votes
6 answers

Executing git commands inside a build job in Visual Studio Team Services (was VSO)

[Environment: Team Services, GIT, hosted build agent] I'd like to create a Team Services build definition that is able to do the following: Executing a script to generate some new files based on existing files in the repo Commit/push those…
Yutao Huang
  • 1,503
  • 1
  • 13
  • 25
24
votes
2 answers

Running unit tests in TFS/VSO Build vNext using xUnit adapter

I am trying to run our xUnit tests using the xUnit test adapter in Visual Studio Online's Build vNext platform. As stipulated in this article, we need to provide a custom test adapter path pointing to xunit.runner.visualstudio.testadapter.dll. But…
Dave New
  • 38,496
  • 59
  • 215
  • 394
23
votes
4 answers

boolean variable as template parameter input

I am trying to use variables set with the Variables-Screen in Azure Pipelines as the input for a template parameter, but get the error: Encountered error(s) while parsing pipeline YAML: /azure-pipelines.yml (Line: 18, Col: 25): The…
Tim Dithmer
  • 348
  • 1
  • 2
  • 13
23
votes
2 answers

How can I exclude changes to the pipeline yaml file to trigger a build in azure devops?

Working with Azure devops, and piplines yaml files. There is a trigger on the develop branch. However, when I am saving changes to the yaml file, it triggers a new build. This happens cause the change to the yaml file is a new commit, captured by…
sirpadk
  • 809
  • 2
  • 7
  • 12
23
votes
2 answers

Error: spawn terraform ENOENT during Azure Pipeline Terraform

When attempting to run terraform init as a task in an Azure Pipeline, it errors stating spawn C:\hostedtoolcache\windows\terraform\0.12.7\x64\terraform.exe ENOENT The installation appears fine, as basic functionality is verified during the install…
ti7
  • 16,375
  • 6
  • 40
  • 68
23
votes
2 answers

Azure Pipelines status badge not getting displayed in markdown

I've set up azure pipelines for one of my github repositories. Everything is working perfect except the build status badge. It is not getting displayed correctly, it seems like the image could not be loaded. This is currently getting…
Lars Behl
  • 253
  • 2
  • 8
23
votes
2 answers

Azure Pipelines - Parallel steps (YAML)

I'm setting up my Azure Devops Pipelines, and have a build that requires some fairly lengthy setup steps to run. These need to run before other tasks, which can be run in parallel. However, I can only see this being done by specifying jobs, which…
JamesDill
  • 1,857
  • 1
  • 18
  • 22
23
votes
6 answers

Using stages in Azure DevOps Pipeline : Unexpected value 'stages'

I create an Azure-Pipelines file that starts as follows: pool: vmImage: 'Ubuntu-16.04' trigger: - master variables: buildConfiguration: 'Release' buildPlatform: 'any cpu' version: '0.2.0' azureSubscription: 'Azure.Nupaya' azureAppType:…
Miguel Moura
  • 36,732
  • 85
  • 259
  • 481
23
votes
3 answers

view code coverage report on azure devops portal

I am running the NUnit tests (project in .Net Framework 4.5), as part of azure devops build pipeline. - task: VSTest@2 inputs: testAssemblyVer2: 'tests/**/*.Tests.dll' pathtoCustomTestAdapters: '$(Build.SourcesDirectory)/packages' …
harishr
  • 17,807
  • 9
  • 78
  • 125
23
votes
4 answers

Best way to send email notification in an Azure DevOps build pipeline? Do not want to use "Notifications Module"

I would like to send email notifications as a task in my Azure DevOps build so that I can copy the build to other team projects and have it work automatically. I don't want to setup notifications for every new project I create. Thanks!
LeWoody
  • 3,593
  • 4
  • 25
  • 31
23
votes
1 answer

How to specify Solution file in Azure DevOps Pipeline

I am having trouble configuring an Azure DevOps Dotnet core build process. I have a simple dotnet core project which I am attempting to build in an Azure DevOps environment. The project is in a subfolder within my repo, but I cannot figure out how…
JLo
  • 3,207
  • 3
  • 20
  • 36
23
votes
8 answers

The "Microsoft.CodeAnalysis.BuildTasks.Csc" task could not be loaded from the assembly

I have a project that I have on TFS online. When Im trying to build the project, I get the following error: Severity Code Description Project File Line Error The "Microsoft.CodeAnalysis.BuildTasks.Csc" task could not be loaded from…
Bryan
  • 3,421
  • 8
  • 37
  • 77
22
votes
3 answers

Loops and arrays in Azure Devops Pipelines

You can create a loop in devops pipelines YAML by using a syntax similiar to -${{ each x in y }}:. From my understanding, y can be an array. However, I find that there is no documentation for each. The only page describing an example of it's usage…
a3y3
  • 1,025
  • 2
  • 10
  • 34