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

How to resolve the variable substitution for volume mount issue in docker-compose file when deploying through azure pipeline?

I have a docker-compose file version: "3.6" services: web: image: p21d01.azurecr.io/web1:latest env_file: - ./test.env volumes: - "${BASE_MOUNT_PATH}/config:${BASE_FILEPROCESSING_PATH}" The docker…
3
votes
3 answers

Type 'org.sonarqube.gradle.SonarQubeTask' property 'pluginVersion' is private and annotated with @Internal

I try to configure code analyzing, using sonarcube on an azure pipeline. When I run the pipeline I got errors like this. Error: "Type 'org.sonarqube.gradle.SonarQubeTask' property 'pluginVersion' is private and annotated with…
ShadowUC
  • 724
  • 6
  • 19
3
votes
2 answers

Task AzureStaticWebApp@0 'could not detect this directory' but its presented

I am working on building a pipeline using AzureDevOps, and I face a strange problem. This is my pipeline: - stage: 'Test' displayName: 'Deploy to the test environment' dependsOn: Build jobs: - job: 'Deploy' steps: - download:…
3
votes
1 answer

How do I use Azure DevOps pipeline to build an ASP.NET web site?

I am working with an older code and attempting to build an ASP.NET website (no .csproj files). I've created an pipeline for ASP.NET added some tasks to my .yml: # ASP.NET # Build and test ASP.NET projects. # Add steps that publish symbols, save…
3
votes
3 answers

Pipeline creation with Azure DevOps REST API fails with error "No pool was specified"

Pipelines are not getting created when Azure DevOps REST API is used for creation. I have used - Create - Rest API. Please find the request URI and request body used below: Request : POST…
3
votes
1 answer

How to pass parametrized image tag in the deployment yaml file?

My deployment yaml file is bitbucket and CI/CD pipeline to build the image and deploy the container is in Azure DevOps. I am able to build and tag the image correctly i.e. with each pipeline run the image version is incremented by 1 e.g. 1.0.0,…
notageek27
  • 101
  • 1
  • 6
3
votes
2 answers

Azure DevOps YAML stage template

I have two environments, preprod and prod and they are pretty much the same. So I created an yaml file, InfurstructureTemplate.yaml parameters: xxxx jobs: - job: provision_job I want to use this template for my two environments, here is…
daxu
  • 3,514
  • 5
  • 38
  • 76
3
votes
3 answers

Is there any way to simulate dynamic YAML pipelines in Azure DevOps?

What I'm thinking about is to have a step in the pipeline to generate a full-blown pipeline to run afterwards. Apparently this particular thing is not there yet (feature requests here, here). But maybe somebody has some fresh thoughts on…
psfinaki
  • 1,814
  • 15
  • 29
3
votes
3 answers

How to resolve Unable to locate executable file: 'pwsh'. Please verify either the file path exists error when getting buildid with Azure rest API?

I am using the below code to retrieve the build id of the latest successful build from the azure pipeline . But throws the below error .Please help in fixing the issue code : - task: PowerShell@2 inputs: targetType: 'inline' …
JCDani
  • 307
  • 7
  • 20
3
votes
2 answers

azure pipeline No test result files were found

I have an azure pipeline to build and publish a c# project to a docker image. everything works just fine but today I wanted to add a unit test this pipeline. so I added the task for it. as follow: - task: UseDotNet@2 inputs: packageType:…
Nayden Van
  • 1,133
  • 1
  • 23
  • 70
3
votes
0 answers

Is it possible to create a step for each file in directory in Azure Pipelines?

Basically what I need is the following: In the repository I'm building, there's in some agreed-upon directory a bunch of *_test.m files. I want to run each of these MATLAB files separately, optimally in a step of its own so it is very clear to the…
YoavKlein
  • 2,005
  • 9
  • 38
3
votes
1 answer

Azure Dev Ops Multiple Parallel Tasks on a Single Agent

I am trying to run multiple parallel tasks on Azure Dev Ops. Do I need to have 1 agent per Parallel task? Or can a single agent take on multiple parallel tasks?
Zapnologica
  • 22,170
  • 44
  • 158
  • 253
3
votes
2 answers

Can an Azure DevOps pipeline have both templated and non-templated jobs?

I have a pipeline yaml file that runs a series of stages, each of which runs a single deployment job that has been templatized. The code itself is pretty straightforward: template.yaml jobs: - deployment: foo ... pipeline.yaml stages: - stage: Uno …
Dlayknee
  • 123
  • 8
3
votes
2 answers

Azure DevOps Pipeline: Showing code coverage report for python project

I am trying to get code coverage results to show up on the pipeline run summary tab. To debug this, I used a sample project with the following pipeline.yaml file: trigger: - master pool: vmImage: ubuntu-latest steps: - task: UsePythonVersion@0 …
3
votes
1 answer

Waiting for a freshly deployed app service to be restarted in Azure Devops Release pipeline

I have a release pipeline that runs Azure App Service deploy task and then runs API management update task from "API Management Suite" by Stephane Eyskens. The API management task calls Swagger endpoint to update OpenAPI schema in the API…
JustAMartin
  • 13,165
  • 18
  • 99
  • 183