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
21
votes
5 answers

VSTS build: Packages failed to restore - Unable to resolve 'NETStandard.Library (>= 1.6.1)' for '.NETStandard,Version=v2.0'

I'm getting Unable to resolve 'NETStandard.Library (>= 1.6.1)' for '.NETStandard,Version=v2.0'. in VSTS build using Hosted2017 build agent after I upgraded my aspnetcore app to netcoreapp2.0 and my libraries to use netstandard2.0. Works fine…
Liero
  • 25,216
  • 29
  • 151
  • 297
20
votes
2 answers

AzurePipeline failing due to: The reference assemblies for .NETFramework,Version=v4.6.1 were not found

I have an Azure pipeline setup for my builds. I have been running into this issue recently and cannot figure out a way to fix this: ##[error]C:\Program Files\Microsoft Visual…
20
votes
3 answers

How to print terraform variable values?

I am learning terraform. I want to print values of variables in "plan" stage. So I found how to do it. seems I am doing something wrong here.... in variables.tf:.... variable "VMCount" { description = "How many VMs do you want to start with…
rajeev
  • 1,275
  • 7
  • 27
  • 45
20
votes
3 answers

how to execute sql script using azure devops pipeline

I have SQL script which I want to execute using azure DevOps pipeline I found multiple tasks for SQL but can not find any required task where I can pass sql server , database name and login details. Is there any task available for this ? If there is…
megha
  • 621
  • 2
  • 11
  • 36
20
votes
4 answers

Azure devops service connection expired and cannot edit/renew

I have a Service Connection which is being used for Pipelines in Azure DevOps. It was created by another user some time ago. Recently it expired and would not allow me to change the username it was associated with. So I deleted that Service…
Gayathri K
  • 441
  • 2
  • 4
  • 11
20
votes
2 answers

"Download pipeline artifact" vs. "Download build artifacts"

What is the difference between "Download pipeline artifact" and "Download build artifacts"? Which one should be used and when?
Alex I
  • 2,078
  • 3
  • 18
  • 24
20
votes
2 answers

Continue on error (but still report as error) in Azure Pipelines

I have an Azure Pipelines pipeline defined by a YAML file that compiles, runs some tests, and then publishes test results. It's clearly impossible to run tests without compiling, so the compilation task obviously has the continueOnError: false set.…
Ian
  • 5,704
  • 6
  • 40
  • 72
20
votes
6 answers

Azure Pipeline to build docker images fails using same docker file in Visual Studio

I'm trying to create a deployment pipeline to deploy my image to Kubernetes cluster. The first step in this process is to create an image based on the docker file. The docker file I'm using was generated from Visual Studio when I added docker…
Geekn
  • 2,650
  • 5
  • 40
  • 80
20
votes
2 answers

Difference between .NetCore, VisualStudio build and MSBuild task in Azure Pipeline?

I'm creating a new CI Azure Pipeline for my .Net Core projects. In Azure pipeline, Microsoft has provided three task for build i.e., .Net Core, Visual Studio Build and MSBuild. Since all three task does build operation, do we have any specific…
20
votes
6 answers

Can you change the location of azure-pipelines.yaml in Azure Devops?

Is it possible to configure an Azure DevOps pipeline to look for the azure-pipelines.yaml file in a custom location? We're using a mono-repo source control architecture for our current work with different packages held under packages/
20
votes
2 answers

VSTS Specified TypeScript compiler not found

I am using VSTS for a project that is using TypeScript. We have a CI Build configured and suddenly that one stopped working today. Yesterday all was fine, today they are all failing. Looking into the build logs I discovered that it's not finding the…
Jules
  • 7,148
  • 6
  • 26
  • 50
20
votes
7 answers

Copy one file in target directory on deploy from visual studio team services

I'm using VSTS as a build server, and while building I want to copy the bin folder contents to the root of the target, and also custom files from another folder to this target. MSDN suggests I use a minimatch pattern, but it's copying files with the…
Georgy Grigoryev
  • 822
  • 2
  • 8
  • 26
19
votes
2 answers

New pipeline on Azure DevOps shows error message "Some recent issues detected related to pipeline trigger."

I created a brand new CI/CD pipeline in Azure DevOps using a yaml file that is working in another pipeline, no problem. I set its default branch to cloud-main, not master as is the suggestion. The new pipeline gives me the message "Some recent…
rjacobsen0
  • 1,287
  • 13
  • 25
19
votes
2 answers

Assign specific agent on Azure DevOps YAML Pipelines

I am trying to assign a specific agent on my agent pool but I don't know how to do it. Does anyone know it? I tried with this but doesn't work: - stage: Deploy pool: alm-aws-pool agent.name: deploy-05-agent1
19
votes
4 answers

Conditional dependent job in Azure Devops YAML pipelines

I'm building a complex pipeline in yaml and I'm trying to create a dependency between two jobs such that the latter job runs after the former, but only if the former is set to run based on a parameter. I can't seem to wrap my head around whether…
Thomas
  • 1,512
  • 3
  • 12
  • 37