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

Conditional Default-Value in Azure Pipeline DevOps

I use Azure Pipelines to Build my solution. When building manually the user can decide which Build Configuration to use. Now I want the default value (and so the value when triggered automatically) to be different according to the branch. This is my…
Ole Albers
  • 8,715
  • 10
  • 73
  • 166
3
votes
1 answer

Azdo custom task extension definition of string input with a regular expression doesn't work

I have an Azure custom task implemented with Typescript with a task.json containing a string input which is supposed to get a semantic version: { "name": "version", "type": "string", "required": true, "label": "Version", "defaultValue":…
3
votes
1 answer

How to build CI/CD for MS SQL Server?

I'm trying to build a CI/CD for my Microsoft SQL Server database projects. It will work with Microsoft DevOps pipelines. I have all databases in Visual Studio databases projects with the GIT as source control. My objective is to have something that…
tg_dev3
  • 171
  • 3
  • 18
3
votes
1 answer

How to get repository name using multiple checkout

Is there any variable (environment, system, resources) in the pipeline that hold the value for foo_repo and bar_repo ? I am looking for the path (just/code/foo, and just/code/bar) as I don't want to duplicate it in the…
3
votes
0 answers

Azure DevOps NPM CI task failes randomly with SyntaxError: Unexpected end of JSON input while parsing near

Our azure pipeline randomly fails during the npm ci task. The relevant steps from the job are: steps: - task: NodeTool@0 displayName: Set node version to 12.x inputs: versionSpec: '12.x' - task: Npm@1 inputs: command:…
allinonemovie
  • 652
  • 1
  • 6
  • 20
3
votes
0 answers

Azure Pipelines: Save Docker Image to Artifacts

I'm running a CI pipeline (ubuntu-latest) and I'm trying to save a docker image as an artifact for later usage on a release pipeline, however I keep getting the same error: This is my complete pipeline setup: pool: name: Azure…
Andrew Fox
  • 69
  • 1
  • 7
3
votes
3 answers

How to change the agent build directory?

My Azure DevOps pipeline currently creates the path "C:\Agent-xyz_work\23\s..." for keeping the build output that will be used in the sub-project builds. Is there a way to set the build folder as just "C:" or "C:\w" etc? I need this because there is…
3
votes
3 answers

Can we set pre deployment approvals in deploy stage YAML?

Can we set pre deployment conditions in deploy stage YAML ? I have two stages in my YAML pipeline Azure DevOps (we restrict team to use classic pipelines). I want to know whether we have possibility to set Pre-Deployment Approvals in YAMl for Deploy…
3
votes
1 answer

Azure pipeline - Stage condition dependson

I have three environments: dev, hml and qa. In my pipeline depending on the branch the stage has a condition to check whether it will run or not: - stage: Project_Deploy_DEV condition: eq(variables['Build.SourceBranch'], 'refs/heads/dev') …
44A-RP
  • 43
  • 6
3
votes
0 answers

How to auto increment the android app version name and version code using app center and azure devops

Is there any way to auto increment the android app version name and version code. My app version name format-- major.minor.0.build (1.2.0.221) Version code format -- number of commits (115) my app manifest file, I have included these two…
3
votes
1 answer

Azure Pipeline VSTest@2 with multiple target frameworks

I have a project that targets .NET Framework 4.6.1 and also .NET 5.0. net461;net5.0 When I run all tests in the test explorer I can tell see that the number of tests is doubled because they are run for both…
3
votes
0 answers

UWP and azure-pipelines: Error CS1617: Invalid option '10' for /langversion

I have an UWP app and changed 10 inside .csproj to value 10. Everything works just fine (to my surprise). But when I tried to build the app inside azure-pipelines it throws this error: ##[error]CSC(0,0): Error CS1617:…
Alamakanambra
  • 5,845
  • 3
  • 36
  • 43
3
votes
1 answer

Flatten build output folders in Azure Pipelines

I have a solution in Visual Studio consisting of multiple report projects, and using Azure Pipelines to deploy the reports to my report server. This pipeline has served me faithfully for years, but my goal is to simplify it a bit. Running MSBuild…
3
votes
1 answer

Azure Devops yaml deployment pipelines shows unwanted message / description

Recently I migrated from the traditional Graphic deployment pipelines to the reusable yaml build and deployment pipelines. The yaml build pipelines are delivering (multiple) artifacts which are used in a deployment pipeline. When running the…
Bart
  • 144
  • 1
  • 12
3
votes
0 answers

Azure self-hosted build agent: ##[error]Version spec 3.10 for architecture x64 did not match any version in Agent.ToolsDirectory

I followed the Microsoft guidance on installing a self-hosted build agent for Windows on my local machine. The agent is running and responsive and can successfully execute all task steps preceding point of failure. The failing task is…
GettingItDone
  • 523
  • 8
  • 26