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

How to sign code built using Azure Pipelines using a certificate/key in Azure Key Vault?

We're in the process of moving from on-premise build servers to Azure Pipelines. We produce "shrink-wrap" desktop software so clearly we need to sign all our binaries before releasing. Our current build infrastructure does this using a USB hardware…
Anodyne
  • 1,760
  • 2
  • 15
  • 28
41
votes
3 answers

Azure DevOps Pipelines "Waiting for console output from an agent..."

I require something from the output of a running release task in order for it to complete (an authenticate code). But the console is now not updating. All I get is "Waiting for console output from an agent..." This happens on both our self-hosted…
41
votes
3 answers

VSTS: Directory 'd:\a\1\a' is empty. Nothing will be added to build artifact 'drop'

I am making my first build in VSTS and I have had to ask a number of questions on SO. I have now been able to restore nuget packages and build my project but now I have to ensure the artifacts are copied to the right place. My last build attempt…
arame3333
  • 9,887
  • 26
  • 122
  • 205
41
votes
12 answers

Azure Web App deploy: Web Deploy cannot modify the file on the destination because it is locked by an external process

I am using the "Azure Web App Deployment" build step in VSTS to publish an ASP.NET Core API to an Azure Web App: Occasionally, this step breaks with the following error: [error]Microsoft.Web.Deployment.DeploymentDetailedClientServerException: …
40
votes
7 answers

Build .NET Core 3.0 on Azure Pipelines

Yes, I know .NET Core 3.0 is still in preview. I would like to build this on Azure Pipelines. Is there an easy way to do this? Currently getting this…
KoalaBear
  • 2,755
  • 2
  • 25
  • 29
40
votes
11 answers

How to get Git Tag in Azure Pipelines

In Azure Pipelines, I have enabled git tags to trigger pipelines like so: trigger: branches: include: - '*' tags: include: - '*' Now I want to know if there is a way to determine programmatically: Was the pipeline started from…
Muhammad Rehan Saeed
  • 35,627
  • 39
  • 202
  • 311
40
votes
4 answers

How to share file(s) between YAML Stages in Azure DevOps

I am trying to deploy my node.js code to Azure Function App using Azure DevOps. I have created the following Azure DevOps pipeline using YAML. The problem I am facing is that on the deploy step, my pipeline is failing because it is not able to find…
TechiRik
  • 1,893
  • 6
  • 27
  • 37
38
votes
4 answers

Setting Git Tag from Azure Devops Build Pipeline on Complete

I'm trying to set a tag with the current version number determined by GitVersion on the GIT commit at the end of a successful build. Feels like I can't be the first one to be doing this, but I'm struggling to find something that works. Azure Devops…
Brett
  • 719
  • 1
  • 7
  • 19
37
votes
4 answers

Set current Sprint or close existing sprint in Visual Studio Team Services (was TFS Online)

Used JIRA for a long time and have moved to Visual Studio Team Services. How do you close the existing sprint and start the next ..the dates ending does not automatically roll it forward to the next We are using SCRUM
HoopSnake
  • 716
  • 1
  • 5
  • 17
35
votes
2 answers

Difference between $(Build.Repository.LocalPath) and $(Build.SourcesDirectory) in TFS Build Online 2017

I am trying to figure out if there is a difference between the two pre-defined variables in TFS Online 2017: $(Build.Repository.LocalPath) and $(Build.SourcesDirectory). I have a build that uses these two variables and didn't know if I could use…
JCisar
  • 2,584
  • 2
  • 29
  • 28
33
votes
2 answers

What does the 'At sign' mean in yaml config for azure pipeline

In Azure devops pipeline there are at signs with a number after the task names. I figured these would be like version numbers. But is this the case, and what is the difference between using: - task: CopyFiles@1 and - task: CopyFiles@2
botenvouwer
  • 4,334
  • 9
  • 46
  • 75
33
votes
5 answers

Checkout part of a branch in Azure DevOps Pipelines (GetSources)

My repository in my organisation's devops project contains a lot of .net solutions and some unity projects as well. When I run my build pipeline, it fails due to several of these: Error MSB3491: Could not write lines to file…
MikeLimaSierra
  • 799
  • 2
  • 11
  • 29
32
votes
4 answers

Continue Azure Pipeline on failed task

I have a task that runs Cypress: -ErrorAction SilentlyContinue cd $(System.DefaultWorkingDirectory)/_ClientWeb-Build-CI/ShellArtifact/ npx cypress run And I've set the ErrorActionPreference to continue. But when my Cypress fails:…
Peter Boomsma
  • 8,851
  • 16
  • 93
  • 185
32
votes
2 answers

Publishing Code Coverage Results from ReportGenerator not working

I am having trouble getting my code coverage reports to work, or rather, to get DevOps to pass my parameters correctly. If I download the build directory (zipped in the build), the ReportGenerator reports are available, but they don't get published.…
Martin Noreke
  • 4,066
  • 22
  • 34
32
votes
1 answer

What is the difference between Build Artifact and Pipeline Artifact tasks?

In Azure DevOps, we have Download/Publish Build Artifact tasks and Download/Publish Pipeline Artifact tasks. What is the difference between the build artifact tasks and the pipeline artifact tasks and when would we choose one over the other?
Dan Friedman
  • 4,941
  • 2
  • 41
  • 65