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

Get console outputs from a script running inside VM on Pipeline

I have a pipeline with the steps below: Create a Resource Group Create a Virtual Machine from an image Copy a Python project to VM created in the previous step This Python project is an RPA (Robotic Process Automation). Now, I need to execute this…
fds13
  • 65
  • 8
3
votes
1 answer

Getting Build Test Results from Azure DevOps in C# app

I am making a program in ASP .NET Core and I am trying to get the Test Runs for specific build in specific Build Definition. So far I have created some some methods which can get the build definition and all night builds for that specific build. Now…
Apuna12
  • 375
  • 2
  • 6
  • 23
3
votes
0 answers

Share azure pipeline task 'env' across multiple tasks

I have 2 pipelines that call code from the same repository. 1 pipeline calls console applications and the other pipeline calls automation tests. Both tasks require the same env to be set. Right now my yamls look like this: - task: DotNetCoreCLI@2 …
3
votes
1 answer

az tag update ERROR: (MissingSubscription) The request did not have a subscription or a valid tenant level resource provider

I am trying to set a tag named "GitBranch" on an Azure Resource Group: When I call the command in PowerShell window - az tag update --resource-id "/subscriptions/79ca5b...7f/resourceGroups/ccg-afarber2" --subscription "79ca5b...7f" --operation…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
3
votes
1 answer

Multiple workspaces on self-hosted agent

This is not a problem or bug or issue. It's just something I noticed and want to know more about. I have checked the official documentation and the Web. I have a self-hosted agent on Azure DevOps. Because of the pipeline development work I'm doing,…
3
votes
1 answer

OWASP Zed Attack Proxy Scan in DevOps pipeline

My requirement is do the "Authenticated Scan" by using the TFS DevOps pipeline, for this I added the "OWASP Zed Attack Proxy Scan" extension under TFS and added the tasks in pipeline. also I installed the OWASP desktop app (2.11.1), pipeline working…
Saad Awan
  • 566
  • 2
  • 9
  • 23
3
votes
2 answers

TFS task "Run Code Analysis" displays ERROR: Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db

This error started appearing in the build task "Run Code Analysis" for a web project build. I have performed the command npx browserslist@latest --update-db, but it did not resolve the issue. The "Run Code Analysis" appears to complete. Any…
J. Cortese
  • 61
  • 6
3
votes
1 answer

How to set Job level condition in Yaml based on committed folder path in Azure

I wanted to set a condition based on the committed paths in Job level? Within my pipeline, I only want to run a particular job if a certain folder has been committed. I have defined a path filter in my pipeline trigger trigger: branches: …
Nish
  • 69
  • 6
3
votes
1 answer

Dynamic jobs based on the number of directories

Is it possible to create dynamic jobs in the Azure DevOps pipeline? I have a scenario wherein I have multiple directories for the deployment, the number of directories will be dynamic (for example: it can have 1 app for deployment or can have many).…
shrish
  • 408
  • 2
  • 8
  • 22
3
votes
2 answers

Get feature branch name in Azure Pipelines

trying to build an Android project, gradle checkout the specific branch that was triggered by Azure DevOps and build the package. After task finish Azure Pipelines checkout to HEAD. As a result, in the next task when i get branch name/tag, doesn't…
3
votes
1 answer

Azure DevOps Gradle "Java heap space" error

I am using an Azure DevOps Pipeline for CI/CD for a ReactNative Android app. It has been working great for a while now, but in my latest release the Gradle build is running into the following error: FAILURE: Build failed with an exception. * What…
twiz
  • 9,041
  • 8
  • 52
  • 84
3
votes
3 answers

Azure Devops pipeline yml looping over stages

How can i loop over an array or through an object to create stages? Below is a yml file that works. You can see the build stage loops over the parameters environments for jobs. IS it possible to achieve the same thing for the publishing stages? The…
user3067684
  • 936
  • 9
  • 18
3
votes
1 answer

Azure DevOps - Yaml pipeline publish release status to work item

First - I know that according to the official MS documentation the built in functionality for updating work items with release status via the deployment control is only supported in the release pipelines and not the multi stage YAML pipelines (see…
3
votes
3 answers

AzureStaticWebApp@0 push from artifacts

I've a CD pipeline that builds a project (multiple times for different environments) and publishes / saves the ./dist directories as one stage. I can download each environment and run locally as expected. Each environment build is a stage that needs…
user3067684
  • 936
  • 9
  • 18
3
votes
2 answers

What is the difference between Docker@0, Docker@1 and Docker@2 in azure devops pipeline task?

I Could find any microsoft documentation explaining the difference between Docker@0, Docker@1 etc. There are some difference between these I could see, for example the azureSubscription property is only available in Docker@0, while tags usually…
leox
  • 1,315
  • 17
  • 26