Questions tagged [azure-devops]

Azure DevOps provides unlimited private Git hosting, cloud build for continuous integration, agile planning (issues, Kanban, Scrum, dashboards) along with release management for continuous delivery to the cloud and on-premises. Azure DevOps has a powerful set of collaboration tools to support your DevOps team on every platform with IDE support in Eclipse, IntelliJ, XCode and Visual Studio.

Filter by
Sorted by
Tagged with
5
votes
1answer
1k views

Multi-language Monorepo

We currently have a "front-end" git repository that is all of our JavaScript client apps, and a "back-end" git repository containing all back end APIs written in .NET Core. There is also a few other ...
5
votes
2answers
433 views

How to report Code Coverage metrics across git repositories?

We are using private git repositories in Azure DevOps and I have a requirement to create code coverage report across git repositories. Our build CI/CD pipelines are using both TeamCity & Azure ...
5
votes
2answers
490 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 ...
4
votes
3answers
2k 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 ...
4
votes
1answer
88 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
270 views

Trigger Jenkins Job from Azure DevOps

I want to trigger Jenkins Job when anyone pushes the code in Azure DevOps Repository. However, when I set up Jenkins Service Connection in Azure DevOps I am getting the following error: Failed to ...
4
votes
0answers
480 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
610 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/...
3
votes
1answer
1k 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 ...
3
votes
1answer
459 views

Azure DevOps Artifact.zip folder structure for .NET Core 3.0 application

I have an ASP.NET Core 3.0 application for which I have a full CI/CD setup in Azure DevOps. The Application is hosted on a Ubuntu 18.04 server machine. In the Build Pipeline, the solution is built ...
3
votes
1answer
1k views

How to setup artifact filters to differentiate for deployment

We would like to deploy only the artefacts that are built from our dev branch to the dev environment. and master branch to be deployed to staging(stage) and production(PRD) environments As a tool, ...
3
votes
1answer
40 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 ...
3
votes
1answer
17 views

How to push to other origins using Azure Pipelines?

Inspired by Necessity of mirroring git repos for small team considering switching to Azure: How does one use Azure Pipelines to push changes to a secondary/backup origin on push? Possible use cases: ...
3
votes
1answer
53 views

Necessity of mirroring git repos for small team considering switching to Azure

Question: Are there any benefits to mirroring our git repos outside of Azure devops for a small (~7) team of developers who all work in the same office? Background Information I'm a developer ...
3
votes
1answer
699 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 ...
3
votes
0answers
18 views

Azure DevOps - How Do I Change the Service Connection for a Build Pipeline

I have a build pipeline already configured using a .yml file. I transferred the repository over to a different organization on GitHub, added all of the necessary Azure Pipelines integrations and ...
3
votes
1answer
125 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 ...
2
votes
1answer
90 views

Trunk Based Development - release branch testing

We are currently using Git flow branching strategy and looking to go to a trunk based strategy - although we are quite a ways away from getting there I am trying to get all my ducks in a row, ...
2
votes
2answers
869 views

How to deploy a desktop application using Azure DevOps?

I'm using Azure DevOps and I need a way to release an internal desktop application. Right now I have a pipeline ready and generating artifacts, but I don't see anywhere in the documentation how can I ...
2
votes
2answers
87 views

Reflect GitLab repo changes in VSTS code

I have a repository in GitLab that is used by our development team. On the other hand, there is a VSTS setup (at xyz.visualstudio.com) that we use to manage our scrum board. As of today, we have to ...
2
votes
1answer
24 views

Is it possible to view all changes made on a Git feature branch in Azure Devops?

Azure DevOps offers the overview of changes made in a branch when a PR is created. However, sometimes I'd like to have access to that overview when viewing a branch without the need to create a PR (or ...
2
votes
1answer
34 views

Using Azure Devops with Git Workflow

I have used Azure Pipeline for CI/CD on various small projects that I have worked and it has been a great experience. I am working now on a decent size project that has a web app, mobile(xamarin) app ...
2
votes
2answers
87 views

Azure DevOps service connection: lifetime of service principal

I have a hard time understanding the lifetime of the service principal created in Azure AD when creating the service connection between Azure DevOps and Azure. I do it like this: I pick the Azure ...
2
votes
1answer
221 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
484 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 ...
2
votes
1answer
365 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
783 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
2answers
222 views

Azure DevOps/Pipelines seed job equivalent?

I'm looking at moving to Azure and using Azure Pipelines (I've used Jenkins before now) - I plan to deploy to Azure Kubernetes Service and store my Docker images in an Azure Container Registry. Using ...
2
votes
1answer
28 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
125 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
175 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
800 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
305 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
276 views

VSTS Azure for DevOps: Unit test checking mechanism on pull request

Is there a way in VSTS Azure for DevOps to implement unit test checking mechanism on pull request. The condition is to only allow commits that change something in the unittest folder for example. ...
2
votes
1answer
236 views

What happens when a PAT expires

In azure devops when you create a PAT you can set it's lifetime up to a year. What happens when it expires? Does it auto renew? Do I need to crate a new one and for every service that uses it, I ...
2
votes
1answer
41 views

How to prevent group from deploy to environment but allow same to redeploy?

In our pipeline, the dev team will do multiple releases to their own test environment, when they are satisfied, they will queue a release for test. This signifies to our QA team that the devs are ...
2
votes
1answer
119 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
1answer
930 views

How to generate Code Churn in VSTS?

In this article I noticed that is it possible to generate code churn reports for TFS: I would like to generate the similar report using Visual Studio Team Services (VSTS). Is that possible and, if so,...
2
votes
1answer
85 views

Conditionally stopping SQL replication during deployment

The project that i recently started working on uses a dacpac to deploy / update a database in MS SQL Server. The database is replicated, whenever the dacpac contains modifications to any table, we ...
2
votes
0answers
108 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 ...
2
votes
0answers
297 views

Continuous integration azure slow or fails [closed]

Two weeks ago the deployment time for my Azure Bots started to be totally atypical Before it was running between 2-4 minutes max. but since then it takes more than 30mins or most of the times ...
2
votes
0answers
337 views

Container to Obfuscate [closed]

I have a few CI environment in VSTS. One for dev, QA, staging, and production. my builds are created in the cloud by VSTS build agents. these builds are not obfuscated by design and need to be ...
1
vote
2answers
103 views

Given a blank slate, tool recommendations? [closed]

so I have 8 months of DevOps experience previously working as a desktop engineer for two and a half years.Starting a new role in the education sector, recently they brought their IT department which ...
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
2answers
91 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 ...
1
vote
1answer
103 views

How do fail a Packer pipeline upon powershell provisioner pester test failure?

I'm building a packer pipeline and having an issue in getting the failure of a powershell provisioner step to fail the packer job itself. This is important as without failing the Packer job, the AMI ...
1
vote
1answer
147 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
60 views

Set additional required approver for pull requests at subfolder lever in Azure Devops

I have a pull request policy on my repo which requires at least one member of the devs group reviews and approves any change before it is merged in to master. I'd like to be able to specify ...
1
vote
1answer
36 views

Calling a Terraform object in seperate folder

I need to reference my VNET Gateway residing in an infrastructure folder, in a VPN folder in order to connect a VPN utilising a Local Network Gateway, but these could be any object in Azure for the ...
1
vote
1answer
171 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 ...