Questions tagged [azure-pipelines]

For questions about Azure Pipelines, which is a proprietary Microsoft CI solution for deploying your applications.

Filter by
Sorted by
Tagged with
14
votes
3answers
21k views

Jenkins vs Azure DevOps Pipelines

I've been doing some research on the Azure DevOps solution that Microsoft recently unveiled. Some background, I've been using Jenkins for years, and recently started exploring the containerisation ...
11
votes
2answers
9k views

Single Build with Multiple Artifacts

I'm a little confused on the Azure Pipeline steps. My solutions has many projects and one UI project that contains both an ASP.Net-Core WebApi/MVC with Angular. the Build Solution builds similar to ...
8
votes
3answers
8k views

Rename build pipeline .yml files in Azure DevOps

I have a .NET Core application that has three build pipelines. (Windows, Linux, macOS) In each of them, the application gets assembled a little different. This part works so far. Azure created for ...
5
votes
2answers
796 views

Azure Devops, multiple on-prem environments, variables per environment

I've configured first deployment pipeline to an on-prem DEV environment. The project consists of 3 identical environments, DEV, UAT and PROD While their setup is exactly alike, their config (database ...
5
votes
1answer
2k views

How to properly setup a multi-environment release pipeline in Azure YAML pipelines?

We have just migrated from TFS 2018 to Azure DevOps Services and we're having a hard time trying to figure out the new Azure YAML pipelines. We want to be able to: Run a build/test pipeline when a ...
4
votes
1answer
2k views

Project pipeline not able to access NuGet package from Artifact Feed in different Project

Updated 20th Feb & 21st Feb Summary Not able to find NuGet package from our private feed under Artifacts. Our Azure DevOps environment In Azure, we have our company "space": dev.azure.com/...
4
votes
1answer
1k views

How to install aws cli on a self-hosted azure DevOps Windows agent?

I have quite some difficulties installing aws cli on a self-hosted Azure DevOps Windows agent as part of a pipeline. Does anyone have a working solution? What I have tried so far: a) install aws cli ...
4
votes
1answer
627 views

How to buy more Azure DevOps pipelines build minutes?

As mentioned on the Azure DevOps official pricing page, the plan provides 1 Free Microsoft-hosted CD/CI parallel job with up to 1800 minutes per month and 1 Free Self-hosted CD/CI parallel job with ...
4
votes
1answer
1k views

What is happening in an Azure Devops build and release?

I'm finding the Azure devops documentation pretty poor - or maybe I'm just not familiar enough with it for it to make any kind of sense to me. Having said that, I've managed to create a build pipeline ...
4
votes
0answers
688 views

Multi-branch release pipeline in Azure Devops for multiple artifact triggers [closed]

Overall problem I seem to run around myself in circles with this problem. Either I'm doing something wrong, or Azure Devops simply does not support it. For the simplest case (we've got many products ...
3
votes
1answer
479 views

How to arrange builds for staging and production with Azure DevOps?

On Azure DevOps I need to build and deploy a ClickOnce application. Because this application needs to be signed (including config) I must create a build for staging and a build for production. I ...
3
votes
0answers
234 views

How can I run a script in an Azure WebApp container after deployment as part of an Azure DevOps Pipeline using the classic pipelines interface?

My knowledge of Azure is pretty limited - this is the first project where I've worked with it. We are deploying Azure webapps in docker containers via an Azure pipeline configured with the classic ...
3
votes
0answers
1k views

Error MSB4226: Microsoft.WebApplication.targets" was not found

I was wondering if someone has ran into this problem as I have tried everything to fix. I have a DevOps build pipeline in Azure running visual studio 2015 version (which matches my local machine) and ...
2
votes
1answer
549 views

Azure Devops: Filter Test Projects in Nuget Build Pipeline

I'm working on a nuget build pipeline. My problem is that my integration test project is being packaged and deployed to the azure artifacts, while my unit test projects are not. The integration test ...
2
votes
2answers
2k views

Azure Devops Pipelines Triggers not working

I have a Repository in Azure Repos which has branches as master, build, feature. Build Branch and Feature branches have their own pipelines code in the azure-pipelines.yaml in the branch itself ...
2
votes
1answer
3k views

Azure Pipelines: Exclude folders using Azure App Service Deploy

I have an Azure DevOps Pipeline which includes an Azure App Service Deploy task (AzureRmWebAppDeployment) for deploying an ASP.NET Core 3.1 project: - task: AzureRmWebAppDeployment@4 inputs: ...
2
votes
1answer
387 views

Publish pipeline artifact to Slack

I have a pipeline on Azure DevOps that publishes an artifact (releasenotes.txt). It also has integration with Slack using ( https://docs.microsoft.com/en-us/azure/devops/pipelines/integrations/slack?...
2
votes
1answer
653 views

Storing Code Signing Certificate

I own a public and open-source Windows Forms/C# application in a Github repo that I want to start code signing with my certificate through Azure Pipelines CI. I have set up my pipeline and it is ...
2
votes
2answers
1k views

How to setup Azure DevOps Pipelines and Releases with multiple apps

Wanting to deploy a collection of .NET Core API's (microservices) using Azure DevOps I run into some challenges: Having 10+ small API's, how should I setup the Release Pipeline? One pipeline with one ...
2
votes
1answer
72 views

Deploy an application using dll files to IIS on a VM

I hope I am posting this in the correct forum, but to me at least, it seemed that the focus was more on deployment. I am currently stuck after having successfully refactored an application by ...
2
votes
2answers
67 views

One or multiple git repositories for independent small parts of one larger project?

We are developing an Azure-based analytics platform that consists of several modules. Among other things, Azure functions, scripts for creating the infrastructure and scripts for initialising the ...
2
votes
1answer
243 views

Azure Dev Ops delete releases not going to production

I have several release pipelines that build to a UAT environment on a continuous integration. They await deployment to Production on an approval. A new release cancels the previous Production ...
2
votes
1answer
84 views

How to deploy Dev Azure SQL code to Prod Azure SQL using dacpac without knowing the target server credentials

Here is my scenario - I have access to source Azure SQL Database where i did few changes to schema (eg adding a table). Now I want to deploy this SQL code to prod Azure SQL Database using Azure ...
2
votes
1answer
415 views

Azure DevOps - how to create a 2nd Microsoft-hosted Agent Pool

I am using Azure DevOps. I have 5 Microsoft-hosted agents. And 10 pipelines. One pipeline in particular can get a bit grabby, so I want to restrict it to use just 2 agents. But I want my other 9 ...
2
votes
1answer
593 views

How do I get Azure Release Pipelines to move a .jar from a Build Pipeline job and place it on a Linux VM?

I know Azure release pipelines can deploy to on-premise servers and other cloud VMs. My pom.xml file enables Maven to create a .jar file. My Azure build uses this pom.xml file. The Azure build ...
2
votes
1answer
453 views

How do I get the UUID of a build Mac from Azure DevOps?

I'm trying to set up an Azure DevOps pipeline to build a macOS app. I think I have all the necessary steps in place, and it runs as far as I expect it to for now. However, I now have reached the step ...
2
votes
1answer
1k views

Can we reuse Variables across variable groups in Azure DevOps?

I'm using DevOps to deploy Azure Data Factory ARM template I'm using a deployment pipeline to take artifacts from a prior build pipeline and deploy to various environments (TEST, PROD) I've created ...
2
votes
1answer
755 views

How to get dependency from file share in Azure DevOps pipeline

We are trying to set up a CI pipeline for building several Docker containers and deploying them to a container registry using Azure DevOps. Our code, the Docker and configuration files all reside in a ...
2
votes
1answer
155 views

What package managers are supported on Microsoft hosted agents with CMake enabled?

Here, I can read that it is possible to setup a CMake build on a Microsoft hosted vsts agent. What C++ package managers (e.g. Conan) are supported for these agents? It would be great if at least one ...
2
votes
0answers
36 views

System/Integration Testing with DevOps

I would like to run system/integration tests in Azure DevOps. I have a Visual Studio "test" solution Test That includes three projects, that are normally being deployed (using Azure DevOps)...
2
votes
0answers
122 views

Creating a task for a backlog item automated in the release pipeline of VSTS [closed]

I'm looking for a possibility to create a task and attach it to a backlog-item from the release pipeline in Microsofts TFS/VSTS. So far I couldn't find anything that would make this possible. Has ...
1
vote
1answer
185 views

How to get information about resources in an Azure Pipelines run?

I work in a platform team that builds and supports Azure Pipelines YAML templates and various custom scripting for these pipelines. People in my organisation use these YAML templates like: resources: ...
1
vote
1answer
1k views

Reading two Repos in Azure Build pipeline

I created a Build pipeline in Azure using classic editor and selected empty job instead of using any template. This way provides option to connect only one repository at once. My requirement is to ...
1
vote
2answers
3k views

Azure DevOps Pipeline Conditional Flow with Manual Intervention

I am wondering if Azure DevOps has the ability to do conditional flow as part of a release definition. My use case: I have a PowerShell script that deploys a SQL Server DACPAC to create or update a ...
1
vote
1answer
599 views

How to make .DACPAC from Azure Sql Server using Azure DevOps release pipeline?

I'm using Terraform to create my environment and I'd like to deploy Azure Sql Server along with other things. I use terraform so I can easily destroy all deployed things and reduce costs when I'm not ...
1
vote
1answer
672 views

Azure DevOps - Conditionally Build and Deploy

Say we have 6 microservices in a monorepo, each with their own CI build pipeline that is currently only building each project and running unit tests. Is there a way to identify which projects have had ...
1
vote
1answer
3k views

Pushing code changes from Pipeline back to repo/branch, using Git!

Here is the scenario: We are trying to "automate" our Salesforce development with Azure Pipelines. Since Salesforce is very unique when it comes to deploying changes, I have tried to create a Pipeline ...
1
vote
1answer
141 views

Build a app.exe file. Where to release it?

I have a specific question about Azure DevOps Pipeline CI/CD. I'm use to create CI and CD pipeline for IIS web application deployments. Sometime, I also do Click Once deployments. This time, I'm using ...
1
vote
1answer
33 views

Sorting out automated testing in CI pipeline and getting conflicting information related to building, unit testing and Docker images

I seem to get a unique response for every person that I ask, or every article that I read, which is just confusing me even more. Basically, I'm trying to setup automated testing in the CI pipeline ...
1
vote
1answer
119 views

Azure Release Pipeline Fails Using Expand-Archive Command

Sometime in the last week, our pipeline started using Expand-Archive to open the .zip file during the "IIS Web App Deployment" step instead of 7-Zip. It does not appear that this was done by ...
1
vote
1answer
138 views

How to skip Build without creating Drop and not triggering Release in Azure DevOps

Currently we have a build pipeline which checks if there is a PR for the current branch and if yes it sets a variable and skips the other build steps. But when this happens the Release still completes ...
1
vote
1answer
37 views

Watch folder, when direct changes are made push to repo

So I have an azure devops repo and pipeline that copys the repo to my server when changes are pushed. However there are times when some of our developers may make a direct edit to the production ...
1
vote
1answer
367 views

Azure DevOps build pipeline error on copy in post build event

I have built a simple pipeline to build my solution triggered by commits to the master branch using the Azure DevOps Pipelines. I have a problem with the post build copy commands failing and returning ...
1
vote
1answer
1k views

Azure DevOps: How to pass a parameter from a build to a release?

I have an azure devops build pipeline that builds some docker images and a release pipeline that deploys the docker images using some artifacts I publish in the build. In the build I have some ...
1
vote
1answer
295 views

Azure Pipeline PowerShell@2 Task can't run 'invoke-build' command as inline script (build PowerShell Module)

I'm trying to build a PowerShell module in an Azure pipeline (dev.azure.com). I've setup an initial pipeline and then building it up incrementally in small steps, because inexplicable errors are ...
1
vote
1answer
418 views

Azure DevOps Pipelines running on incorrect branches

I'm attempting to build different branches with different YAML configuration files in each branch. However, when I commit to a branch that should only trigger 1 pipeline it triggers both. Development ...
1
vote
1answer
217 views

Multi-Stage Azure Pipeline with a path trigger - first stage always runs

I have a multi-stage pipeline for my terraform code. This is my first pipeline so I am sure I'm missing something but there appears to be some inconsistent behaviour that is rather frustrating. The ...
1
vote
1answer
48 views

Azure deploy pipeline with/without approval on separated enviroments

I have two separate environments under my repository: development (Approvals are not configured but the environment exists) production (Approvals rules are configured via dev.azure.com UI) The ...
1
vote
2answers
1k views

Using cached dependencies for pipelines in Azure Devops

I want to avoid maven downloading all dependencies from a remote repository in all build I configured a cache, but all executions still download all dependencies. azure-pipelines.yml trigger: ...
1
vote
1answer
164 views

How to setup priorities between pipelines that might be triggered simultaneously on Azure DevOps pipelines

I am using Azure devOps to build and deploy my application, and within that application I have a project that is being used by other related applications (let's call it project N). Thus I decided to ...