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

Azure Bicep Modules: Can modules be referenced from a separate repo?

Functioning Code Using Terraform I am more familiar with Terraform, where I can do something like: module "storagemod" { source = "git::https://MyProj@dev.azure.com/MyProj/Dataplatform/_git/myrepo//storage-account?ref=v0.2.0" rg_name = "MyRG" …
Mike Williamson
  • 4,915
  • 14
  • 67
  • 104
3
votes
1 answer

Azure DevOps Pipeline - React Js application build was failing during build (npm run build)

I was using vmImage: ubuntu-latest. Getting many errors during build (npm run build) such as: ERROR in ./src/components/*********/testCard.scss Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): ModuleNotFoundError:…
Kotha Ramesh Babu
  • 355
  • 1
  • 4
  • 10
3
votes
2 answers

how to add manual intervention in build pipeline

i have a build pipeline i want to add mannual intervention in the pipeline and when that manual intervention is done the user can click on resume the pipeline but i want to do this in build pipeline. i checked in this…
ashish
  • 273
  • 1
  • 5
  • 16
3
votes
2 answers

Yaml multi stage run using dependson and conditions

I have a need to run the "Secure" stage if one of the previous stages of INT was sucessfully passed. I tried with dependson and conditions but I can't find the solution.
soydachi
  • 851
  • 1
  • 9
  • 24
3
votes
1 answer

Azure Pipeline Matrix Strategy Variable Expansion problem in conjunction with templates

For often used tasks in azp I created an own repository with a yml file, I'll show you a subpart of that: create-and-upload-docu.yml: parameters: - name: Documentation type: string default: '' - name: Language type: string default: '' -…
3
votes
0 answers

AzurePipelines: different values for `pipeline.startTime` in the same run of a pipeline

I have a pipeline defined by the following two files. My problem is that the output of the ShowDate step is not the same in these two jobs. I would expect this because both are filled by pipeline.startTime. It seems that pipeline.startTime is…
Rynardald
  • 329
  • 2
  • 10
3
votes
1 answer

Powershell exception stopping execution even with try/catch

We have a powershell script that executes in our pipeline and it has a few commands which should not stop if any error occurs. I tried putting the script block inside a try/catch but the pipeline still stopes with error: This is the code: try {…
DAG
  • 2,460
  • 5
  • 33
  • 61
3
votes
1 answer

Azure Devops Pipeline build fails Could not resolve this reference Could not locate the assembly

First time using the Azure Devops and the first pipeline I set up keeps on failing. I have a project created in VS 2019 to test the new Xero Oauth 2.0 implementation. I have installed the Xero.NetStandard nuget packages and all other nuget packages…
Margie
  • 63
  • 1
  • 6
3
votes
2 answers

Azure Pipeline variable when to use explicit name and value attributes

This doc mentions two ways to create a yml variable. Explicit use of name and value attributes variables: - name: myvariable value: myvalue Another approach is a short-hand key: value approach. variables: myvariable: myvalue I have noticed…
duyn9uyen
  • 9,585
  • 12
  • 43
  • 54
3
votes
1 answer

How to parameterize agent pool name in azure pipeline with yaml file

Hi I am using agent pool in azure pipeline, so i have multiple agents so i want to parameterize the pool name like shown below but when i do this i get an error as (Line: 11, Col: 9): A template expression is not allowed in this context parameters: …
ashish
  • 273
  • 1
  • 5
  • 16
3
votes
1 answer

Azure Pipeline runs not automatically deleting

We have two build YAML pipelines to run tests on TFS one for front-end and one for back-end tests. We use two self-hosted windows agents to run these builds and we are on Azure DevOps Server 2020. Ever since we started running the pipeline we…
Andrew
  • 585
  • 1
  • 7
  • 17
3
votes
3 answers

VSTest task in Azure devops timing out after 60 minutes

I implemented a test method using MSTest2, the execution of the test code takes about a minute. This test uses DataTestMethod with DynamicData source. The result of expansion of the dynamic data results in more than a 100 tests. When I run the test…
loganwol
  • 97
  • 1
  • 9
3
votes
2 answers

Is it possible to set a condition based on System.PullRequest.TargetBranch for a stage in a pipeline template?

I have a solution where a git branch is directly related to an environment (this has to be this way, so please do not discuss whether this is good or bad, I know it is not best practice). We have the option to run a verification deployment…
3
votes
1 answer

Azure DevOps API - Create a pipeline from a YAML file located in a specific branch source

(this is my first question, I gonna try to be understandable) Objective : From a Powershell script create a new Pipeline from a YAML file (located on a specific branch) According to the documentation and my own knowledge I got this JSON to create…
3
votes
2 answers

Should I run dotnet publish on test projects in build pipeline if I want to run them in release pipeline?

I have some integration and ui test projects (*.csproj) in my repository. I understand I need to publish the test assemblies to build artifacts in order to run them later in Release pipeline. My question is: How should I pickup the test…
Liero
  • 25,216
  • 29
  • 151
  • 297