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

Azure Pipelines : differences between PublishBuildArtifacts and PublishPipelineArtifact tasks?

I've noticed the existance of a PublishPipelineArtifact task but it is not clear to me if there is any functional difference from the older PublishBuildArtifacts task?
whatever
  • 2,492
  • 6
  • 30
  • 42
26
votes
7 answers

How to Enable Docker layer caching in Azure DevOps

I am running the below yaml script to build docker images and push into kubernetes cluster but at the same time I wanted to enable docker layer caching in the azure DevOps while building the yaml script.Could you please explain how to enable or how…
PRAVEEN PDBR
  • 423
  • 1
  • 9
  • 25
26
votes
2 answers

Azure DevOps - Setting and Using Variables in PowerShell Scripts

I have an Azure DevOps build pipeline that has two separate PowerShell scripts. In the first script, I am getting a value from an XML file and setting that value in an environment variable. In my second script, I want to use the value in the…
Some User
  • 5,257
  • 13
  • 51
  • 93
26
votes
2 answers

Visual Studio Team Services - edit link settings

I just noticed on Visual Studio Build task the following: To have parameters for common settings such as the solution file seems like a good idea to me, given that some parameters are used in more than 1 task... But I honestly don't like to use…
25
votes
4 answers

Difference between Deployment Groups and Environments in Azure DevOps Services\Server

In Azure Pipelines, we have Deployment Groups & Environments as separate options but are they both not suppose to add a list of server belonging to an environment as a group. Clarification on this would be highly appreciated.
25
votes
3 answers

How do I write an inline multiline powershell script in an Azure Pipelines PowerShell task?

The yaml schema for a Powershell task allows you to select targetType: 'inline' and define a script in the script: input. But what is the correct format for writing a script with more than one line? The docs don't specify how, and using a pipe on…
Ola Eldøy
  • 5,720
  • 7
  • 49
  • 82
25
votes
3 answers

How to replace in variable strings inside azure-pipelines.yaml?

I want to set VersionSuffix from Build.Sourcebranch but this fails since SourceBranch contains refs/heads/. - task: DotNetCoreCLI@2 condition: succeeded() inputs: command: 'pack' versioningScheme: ByPrereleaseNumber …
Macke
  • 24,812
  • 7
  • 82
  • 118
25
votes
3 answers

Coverage status check failed?

I committed the changes to the pull request and yt shows "Code coverage status failed.". I have searched a lot, but couldn't find the cause or solution to resolve this. Azure pipeline test service Diff coverage check failed.0/70 (0.00 %)…
prasanthi
  • 562
  • 1
  • 9
  • 25
25
votes
1 answer

How to handle multiple configurations in VSTS Release management?

For our project we are using Visual Studio Team Services to maintain code and builds. For this project I also want to setup release mangement. (https://www.visualstudio.com/en-us/features/release-management-vs.aspx) For the Test, Staging and…
Richard Mosselveld
  • 702
  • 1
  • 6
  • 21
24
votes
3 answers

How to trigger Azure Pipeline on every new push on any branch?

My current implementation of Azure pipelines is to trigger only when a pull request is made to Develop branch. But, I want to run the pipeline on every new push on any branch. How to trigger that? My current implementation of the Azure YAML…
artois
  • 485
  • 1
  • 6
  • 13
24
votes
2 answers

How to run a docker container in Azure pipeline?

Azure documentation (https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/build/docker?view=azure-devops) does not specify how to run a docker container in Azure pipeline. We can use the Docker@2 task to build / push docker images but it…
tharinduwijewardane
  • 2,593
  • 2
  • 16
  • 28
24
votes
2 answers

Azure DevOps - Clean build directory

I am using a self-hosted agent for running my build and release pipelines. A problem happens after I run a build and it fails due to an issue in the pipeline. The cloned branch from remote sits in the working directory. The second run also uses the…
Indrajeet Gour
  • 4,020
  • 5
  • 43
  • 70
24
votes
4 answers

Azure DevOps Project pipeline not able to access NuGet package from Artifact Feed in different Project

Updated 20-Feb-2020 Summary Azure DevOps pipeline build not able to find NuGet package from our private feed under Artifacts. Our Azure DevOps environment In Azure, we have our company "space": dev.azure.com/OurCompany Under that, we have multiple…
24
votes
4 answers

What is a Docker registry service connection?

Following this documentation, Docker registry service connection is found in the following YAML. What is Docker registry service connection and where can it be found? trigger: - master variables: # Container registry service connection…
24
votes
7 answers

Fatal: Could not read password for 'https://OrganizationName@dev.azure.com': terminal prompts disabled

I'm trying to merge the develop branch to the master branch when building with Azure Pipelines PowerShell task. But while executing the command git push, I'm getting this error: Fatal: Could not read password for …