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
2answers
338 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
254 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
1answer
430 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 ...
4
votes
1answer
95 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
337 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
122 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
199 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
774 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
431 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 ...
2
votes
1answer
47 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
602 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 ...
2
votes
2answers
359 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
87 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
154 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
170 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
483 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
163 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
45 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
67 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
549 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
103 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
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
102 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
840 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
43 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
199 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
0answers
101 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
250 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
270 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
85 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
1answer
27 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
23 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
55 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
2answers
27 views

how long does it take to deploy a serverless function?

using any method - cli, serverless.com, terraform, roughly: how much time can i expect to pass between these two steps: submitting a new function to AWS (or azure or GCF), and having that function ...
1
vote
1answer
168 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 ...
1
vote
2answers
2k 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
68 views

Git repo setup for multiple dot net project

I have a dot net solution containing a WPF application, MS-SQL database, and 2 dlls. Each is their own product in the sense that each can be shipped independently (dlls go to nuget to be consumed by ...
1
vote
1answer
38 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 ...
1
vote
1answer
70 views

Azure DevOps Server: Why does a Visual Studio Test step take so long to run unit tests?

In an Azure DevOps Server build system installed on premises, I have a Build Pipeline with a Visual Studio Test step. The step is configured to discover and run XUnit unit tests in a DLL. The step is ...
1
vote
1answer
31 views

How do I specify a database name for a SQL DB Deploy task?

Using Azure DevOps, I'm trying to setup a SQL DB Deploy task as a part of a new release pipeline. Database Name is a required field for this task. However, the field is read only, so I cannot manually ...
1
vote
1answer
111 views

Gitflow with pull request or pull request

My team is currently using gitflow workflow into develop branch. Here is an overview for what we are doing. We are a sql server data warehouse team using Azure repos and Azure devops to build and ...
1
vote
2answers
48 views

Assign bug from different repo when creating a pull request

Say I have 2 repos... And I have a work item (or bug, or whatever) in one repo, and my code in another repo (yes, I know it's silly, that's how my group rolls for historical reasons). Is there a way ...
1
vote
1answer
52 views

WorkItem Tracking error when performing clone operation in Azure Devops

Today I received an error when trying to clone test plans in Azure DevOps web portal. Steps: In Visual Studio, I select the Test Case option I find the Test Plan I want to clone, select it , and ...
1
vote
1answer
191 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. ...
1
vote
1answer
57 views

Initialize database with data

I'm setting up Build Automation for a MS-SQL project. One of the requirements is to initialize the database with data. I have them as SQL scripts. I'm trying to figure out what the best way to ...
1
vote
1answer
444 views

How should we organize VSTS repositories?

We are a small company with the following systems: External Web Site for pre-customers (already created in ASP.NET Framework), External Mobile Application for customers (in progress in Flutter), ...
1
vote
1answer
23 views

Azure devops, fortnightly build trigger

I'm trying to write a build pipeline that runs every second friday (essentially at the end of a sprint). Using the classic editor it appears I can only set a trigger that would run every friday. Is ...
1
vote
1answer
12 views

Is it possible to force to false or true the App.config transformation with arguments on Azure DevOps Pipeline?

Is it possible to force the TransformOnBuild to false using MSBuild parameters in Azure DevOps? So I Use Azure DevOps Pipeline to build a clickOnce application for a staging environment Here is my ...
1
vote
0answers
110 views

Why does Azure DevOps continue with Text must not be null error message?

I am trying to help someone who is trying to build a React Native application on Azure DevOps that continues to give them this error: FAILURE: Build failed with an exception. * Where: Script 'D:\a\1\...