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

Confused by the use of $(Build.ArtifactStagingDirectory) in separate stage from published Artifact

Problem: $(Build.ArtifactStagingDirectory) is empty, despite being able to view the published Artifacts in the Azure DevOps Pipeline UI, which causes the pipeline to fail. What I'm trying to do: Build microservice (e.g., /api). Run unit tests. If…
3
votes
2 answers

Azure Pipelines: multiline parameter

Is it possible in the azure pipeline to pass a multi-line parameter? If type is a string, you can't even write with a newline. If on the other hand the type is object, you can enter multi-line, but all EOLs in the variable will be…
Rozmaryn
  • 251
  • 1
  • 5
  • 10
3
votes
1 answer

in YAML how to passing multiple arguments to powershell script

- task: PowerShell@2 inputs: targetType: 'filepath' filePath: $(System.DefaultWorkingDirectory)/psscript.ps1 arguments: > -ContainerName $(ContainerName **-Url $(Url) +…
kumar8891
  • 53
  • 1
  • 7
3
votes
1 answer

Azure Devops scheduled pipeline does not trigger

I have the following configuration: Azure DevOps Server Version Dev18.M170.8 trigger: none # No CI build pr: none # Not for pull requests schedules: - cron: "* * * * *" displayName: Every minute build branches: include: - master …
XMight
  • 1,991
  • 2
  • 20
  • 36
3
votes
0 answers

How to get pipeline information for a Repo in Azure DevOps?

I would like to know the pipeline for a given Repo, I cannot see any direct way to get this information, Is there any way to get this?
Vivek Nuna
  • 25,472
  • 25
  • 109
  • 197
3
votes
1 answer

docker-compose in Azure Dev Ops pipeline (ADO)

I am trying to get docker-compose to run in the Azure Dev Ops pipeline with my yaml file but I keep getting errors like the following ##[error]Unhandled: Unable to locate executable file: 'docker-compose.yml'. Please verify either the file path…
J.Doe
  • 155
  • 1
  • 9
3
votes
2 answers

How to install Docker compose in Azure pipelines?

I would like to use Docker Compose task in Azure pipelines, but I am getting following error: ##[error]Unhandled: Docker Compose was not found. You can provide the path to docker-compose via 'dockerComposePath' How should I install docker compose?…
Katebrich
  • 88
  • 7
3
votes
1 answer

Azure pipeline: how to use an output variable in a condition

I am working on a pipeline running on a Windows Self Hosted agent. I need to call a script that initialize a variable in one stage and use the variable in a condition of the next stage. Here is my Yaml: stages: - stage: Init jobs: - job:…
3
votes
3 answers

AKS/K8s authentication error when deploying some image tags; other tags succeed

Problem I am running an Azure Pipeline to deploy specifically tagged images from Azure Container Registry (ACR) into an AKS cluster. For some image tags, the deployment succeeds. For other image tags, the deployment fails to pull the image. The…
3
votes
1 answer

Azure devops build pipeline seems to restore nuget packages twice

I have a build pipeline, where I have a Nuget restore step using NuGetCommand which works fine. But the next step where the build is performed fails on missing nuget packages. It seems the build step tries to restore the nuget packages a second…
bluedot
  • 628
  • 8
  • 24
3
votes
2 answers

Azure DevOps Pipeline log, marks the number 1 as ***

I am at a bit of a loss here, have a very simple yaml pipeline. No variables are defined for the pipeline. A few variables are defined inside the yaml, but none are marked secret. I have tried deleting the pipeline and recreating it - same…
3
votes
2 answers

Yarn commands in Azure pipelines

I have used the below to build the code using yarn , which was perfectly working in Azure DevOps pipeline until yesterday I am not sure what has changed, now its throwing the below error: I have searched the error for exit code 127 but the…
Asterix
  • 331
  • 6
  • 22
3
votes
1 answer

Accessing SQL Server from Azure DevOps Pipeline

Problem I have setup an Azure Pipeline, and the problem I have is that during the Test Assemblies part of the Pipeline it is failing as it can't resolve the connection string/find my SQL Server. A network-related or instance-specific error occurred…
Brummy
  • 183
  • 1
  • 11
3
votes
1 answer

.csproj file not found when building docker image using Azure Pipeline

My goal I want to publish a docker image to Dockerhub from the Azure DevOps Pipeline. The pipeline runs after a commit on the master branch in Gitlab. The application I want to build an image for is a .Net Core Web API project. I'm using the…
3
votes
1 answer

Running bash script within a project folder of AzureDevOps

I have a script that is nicely performing all kinds of dependency installation and some manual works (NPM installation, some manual steps to do while setting up project) to setup a project before it is able to run. The script runs perfectly fine in…
Tommy Leong
  • 2,509
  • 6
  • 30
  • 54