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

Publish Cypress screenshots in Azure DevOps (or externally)

I'm relatively new with Azure DevOps and I was wondering what will be the most practical way to publish Cypress test screenshots in Azure pipelines (or maybe even somewhere external)? The only way I found online is…
k4v3
  • 55
  • 7
3
votes
1 answer

How can I use my template in a pipeline definition that extends a template from another repository?

I have a pipeline that extends a template from another repository. That external template takes a stageList called stages. My pipeline: resources: repositories: - repository: templates type: git name: OtherProject/OtherRepo …
Benjin
  • 2,264
  • 2
  • 25
  • 50
3
votes
1 answer

how to specify conditional expression under parameters seciton - Azure DevOps Pipeline

I would like to have if condition under parameters in Azure pipeline yml file. Please find my code below: I want to show iPhone 13, iPhone 13 Pro, iPhone SE if product is selected as phone. And show Macbook Pro, Macbook Air if product is selected as…
Brady Maf
  • 1,279
  • 2
  • 5
  • 12
3
votes
1 answer

Stage * has an invalid name - Azure Pipelines

Here is my debug Azure Pipeline. When I run it I got error about invalid Stage and Job name Unit Test. trigger: - main pool: vmImage: ubuntu-latest stages: - stage: Unit Test displayName: Unit Test jobs: - job: Unit Test …
Lukasz Dynowski
  • 11,169
  • 9
  • 81
  • 124
3
votes
1 answer

How can you handle retryCountOnTaskFailure and timeoutInMinutes together?

I have a database dumping script - bash: | ./dump-db.sh displayName: "Dump RDS" timeoutInMinutes: "10" retryCountOnTaskFailure: 3 Which on occassion takes too long so I want it to timeout and retry. However, it seems that if the timeout…
Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265
3
votes
1 answer

Azure DevOps: Attach files to test result / run from YAML pipeline

I have some (Playwright) automated tests that run in Azure DevOps via a YAML pipeline. I have enabled the trace feature of Playwright so each test produces a zip file containing the trace. My goal is for failing tests to have the trace zip file…
David Masters
  • 8,069
  • 2
  • 44
  • 75
3
votes
2 answers

Azure DevOps Pipelines: how to check out branch of the self repo?

I have a yaml pipeline which I want to make it to run for more branches. Therefore I am trying to checkout one branch, specified in pipeline variables. I'm unable to do so, the error being Unexpected value 'ref'. The pipeline file is: trigger: …
tomab
  • 2,061
  • 5
  • 27
  • 38
3
votes
1 answer

How to pass parameters from azure pipeline to shell script?

I'm trying to pass parameters to a shell script from an Azure pipeline. The shell script is being hit, but the parameters aren't coming over. Here is the pipeline task: - task: AzureCLI@2 inputs: azureSubscription: 'our-subscription' …
user3217883
  • 1,216
  • 4
  • 38
  • 65
3
votes
0 answers

Is it possible to run Azure DevOps self-hosted agent locally against local non-committed code

We have been looking for a way to run Azure DevOps pipeline locally against code in local host to allow faster pipeline development cycle. It is especially cumbersome to commit code to version control push it to remote and find out that something…
3
votes
1 answer

Azure Error : unauthorized: aad access token with sp failed client id must be guid

I am trying to create a NodeJS Azure pipeline, deployed to a container and publish it. While pushing the container I got the following error. I am using a Guest User account with Contributor permission. What should I do?
Nikhil Wildherbs
  • 33
  • 1
  • 2
  • 4
3
votes
0 answers

This may indicate the process failed to start. Error: spawn /usr/bin/python ENOENT error occurring when deploying python app with azure devops

Hello Folks , I am facing issue in Azure DevOps while deploying Python apps and in the deployment time. I am facing this issue Error: spawn /usr/bin/python ENOENT.
AKD
  • 31
  • 1
3
votes
1 answer

Helm: Overwrite configuration from json files, is there a better way?

We use helm to deploy a microservice on different systems. Among other things, we have a ConfigMap template and of course a value file with the default values in the repo of the service. Some of these values are JSON and so far stored as JSON…
DaveVentura
  • 612
  • 5
  • 19
3
votes
1 answer

With yaml pipelines, is there a way to select an environment parameter from a dynamic list of all environments?

We've been migrating some of our manual deployment processes from Octopus to Azure DevOps Yaml pipelines. One of the QoL changes we're sorely missing is to be able to select the environment from a drop-down list/ auto-complete field as we could in…
3
votes
3 answers

Multi job pipeline always checks out same commit?

I have defined a multi job azure pipeline where every job needs to clone and checkout the source git repository. Some of these jobs can take a while so I am wondering if every job always clones and checks out the momentary HEAD version/commit of the…
Marko
  • 929
  • 9
  • 27
3
votes
2 answers

Azure Pipeline maven release:perform fails with "The git-clone command failed."

currently, I try to build a spring boot application and make releases with Azure Pipelines and maven-release-plugin. My Azure Pipeline YAML Looks like this: - stage: BuildRelease condition: true displayName: Building a Release with Maven jobs:…
kism3t
  • 1,343
  • 1
  • 14
  • 33