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

Azure Static Web App: transform Blazor webassembly appsettings.json in Azure DevOps

I have a static blazor web app that has the following structure: and the following setting in appsettings.json: { "ApiUrl": "http://localhost:7071/api/" } I also have a Azure DevOps pipeline with the following yaml: trigger: - main pool: …
3
votes
1 answer

In Azure Pipeline YAML, how to make stage run even though a job in previous stage fails, using succeeded('JobName')

I am trying to make my second stage run even though one of the two jobs in the first stage fails, but I cannot get it to work as expected with the job status check function succeeded('JobName'). In the following YAML pipeline, I would expect it to…
tholesen
  • 460
  • 5
  • 10
3
votes
2 answers

How to keep agent's temp folder in order to invoke command from Azure DevOps release pipeline manually

I want to troubleshot a single step from Azure DevOps release pipeline (classic mode). The step invokes similar command on deployment VM: C:\azagent\A1\_work\_tool\VsTest\17.0.0\x64\tools\net451\Common7\IDE\Extensions\TestPlatform\vstest.console.exe…
3
votes
1 answer

Grant Access to Azure Databricks using Azure Devops

I am fairly new to Azure Devops and Azure Databricks. I have created Azure Databricks workspace using Azure Devops CI/CD Pipeline. Now I am looking for a solution to Add Users to Azure Databricks workspace using DevOps Pipeline.
Saurabh Mehta
  • 91
  • 1
  • 2
  • 9
3
votes
1 answer

Rolling back a deployment to a Devops "Environment"

I'm used to using the classic Devops "Release" pipelines for deploying code changes to Kubernetes clusters. Recently I've been looking into switching to using Azure Pipelines "deployment" jobs together with "Environments". It seems to work really…
mchristos
  • 1,487
  • 1
  • 9
  • 24
3
votes
1 answer

Deploy to a different environment depending on the source branch

I am trying to set environment in the Azure DevOps build pipeline conditionally based on the trigger branch. I tried something like this: jobs: - deployment: Deploy ${{ if eq(variables['Build.SourceBranch'], 'DEV') }}: …
romanzdk
  • 930
  • 11
  • 30
3
votes
1 answer

Azure DevOps Pipeline rootdirectory

I'm trying to get the dist file from my project in Azure DevOps with the rootdirectory. But no matter what I do, I continue to get this error: ##[error]Error: ENOENT: no such file or directory, stat >'D:\a\1\s\dist' ##[error]Ftp Upload…
3
votes
1 answer

Azure DevOps - Deploy One Build Artifact To Multiple Web Sites

We currently have one build artifact that needs to be deployed to a deployment group of multiple ASP servers with multiple IIS client sites. There are up to 20 servers with 30 client sites on each server. One advantage is each site has the same…
3
votes
2 answers

What permission is required to remove or add resource lock for Azure SQL with Terraform on Azure Pipeline

I have prod subscription where deploying pipeline fails because of permission missing. My Azure AD user have no permission to create or remove locks of Azure SQL. I wonder what and how to configure user permission so that Azure Pipeline can create,…
Kenny_I
  • 2,001
  • 5
  • 40
  • 94
3
votes
1 answer

Overwriting a file in Azure blob storage using the AzureFileCopy task

In Azure Pipelines, we can upload a file to blob storage using the following task: - task: AzureFileCopy@4 inputs: SourcePath: 'MyInstaller.tar.gz' azureSubscription: 'Azure subscription 1(qwerty)' Destination: 'AzureBlob' storage:…
3
votes
2 answers

Azure DevOps agent not picking up yml based jobs

So I'm using Azure DevOps Server 2020 Update 1 and self-hosted agents on Linux. I'm desperately trying to get my agent to pick up my jobs but it won't. It's not busy, no capability issues (test pipeline with only a single "hello world"-style inline…
3
votes
6 answers

ADF Pipeline Stopped Working: Job failed due to reason: The result has 0 output columns. Please ensure at least one column is mapped

I've successfully manually triggered a pipeline in development many times. We're loading csv files into an Azure Blob Storage container from Sql server and sinking with an Azure SQL database. Now when I run the same pipeline I get the error:…
KimA
  • 31
  • 1
  • 3
3
votes
1 answer

Azure Release Pipeline Authentication Required

We have some onsite servers that we deploy to with Azure DevOps release pipelines. We have been using these release pipelines for several months with no issues. Today, we started getting an authentication error while downloading the artifact for the…
SausageBuscuit
  • 1,226
  • 2
  • 20
  • 34
3
votes
3 answers

How to prevent next Release pipeline in Azure Devops from starting, before previous one is fully finished?

I'm quite new to Azure Devops, so sorry if it's obvious questions. I have a release pipeline with 3 stages like this: First stage is run on Agent A on Machine A, Stages 2,3 run on Agent B on Machine B. Once stage 1 in prev. pipeline is finished ->…
Mike
  • 931
  • 1
  • 8
  • 15
3
votes
1 answer

Azure build pipeline: Is it possible to sign an MSIX within the VSBuild task using a code signing certificate stored in the Key Vault?

I am able to sign an MSIX file within the VSBuild task when using a code signing certificate (*.PFX) that is stored as a secure file from the Build Pipeline's library section using the following setup (truncated for brevity): Note: The key is how we…