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
0
votes
0answers
4 views

How to deploy NLog.config by environment on Azure DevOps

I need to deploy my project on 3 environments Development Staging Production I use Azure DevOps CI and CD. I can build, deploy, and I use the group variables to update my Web.config file. I can only ...
1
vote
0answers
6 views

Copying Eclipse project into devops repo

I have TEE plugin in eclipse to connect to Azure services and have created a project in Azure. The project has a repository and viewable in Eclipse TE window. I have been trying to copy my java ...
1
vote
1answer
18 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 ...
0
votes
0answers
18 views

ASP.NET MVC / Web API project CI/CD Build / Release Pipeline Fails

I've been tinkering on this for over a day now and honestly the docs are all over the place and I can't seem to win. Currently I have the pipeline working up until building the solution, now it fails ...
-2
votes
0answers
29 views

Tool for project managment

I am looking for web tool that will run automation once the request is accepted by employ. for exmaple I want to start up new VM, so I would like a website that will have several stages for this ...
1
vote
0answers
18 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 ...
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 ...
0
votes
0answers
16 views

CI/CD ARM Templates - Should the cloud infrastructure and resources be checked on each deployment?

Given a company adopts infrastructure as code deployment model using ARM templates. Is it a good practice to attempt to re-deploy the ARM templates alongside the application itself ? If yes what ...
-1
votes
1answer
22 views

Cherry pick a code push to next environments in Pipeline

We are team of 7, we have a repository, we keep pushing our changes to it. No Branching at all. And there is pipeline setup. Dev - Test - Stage - Prod Whenever we push something from LOCAL it ...
1
vote
0answers
15 views

How to combine cloud-init with Azure ARM Template

I'm trying to set up a Ubuntu Server on Azure. None of the images do quite what I want, so I was planning on taking a vanilla Ubuntu image and using cloud-init to modify it. I'd like to be able to ...
0
votes
0answers
15 views

Why can't I create a BUG? [duplicate]

Why am I not allowed to create a bug? I am the project administrator.
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 ...
0
votes
1answer
44 views

Azure DevOps Different Post Deployment script per environment

I have a visual studio database project being built and released through Azure DevOps. I need to execute a different post deployment for Dev vs. Prod. Is there a way to achieve this either through ...
1
vote
0answers
54 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 ...
3
votes
1answer
39 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
84 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 ...
0
votes
0answers
27 views

SonarQube SCA fails on projects without Unit tests\VC++ and on projects where few Unit tests fail. How to fix this?

I finally started using SonarQube for code analysis in my projects recently, by setting up a community version of SonarQube server(offline) and was successfully able to integrate it on 2 of my .Net ...
1
vote
2answers
86 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 ...
0
votes
0answers
14 views

How to deploy a C# Chatbot project to Azure App Service

I created a C# based chatbot project using bot framework v4, it works on my local but when I try to deploy it on Azure App Service, I get a 502 error, I tried to deploy a few different way. I try to ...
0
votes
1answer
45 views

Add permissions to readers (DevOps Web Portal)

I have a public Azure DevOps project, and I want to allow everyone to add Work Items. However, adding the Readers group as a member of Contributors for the permissions doesn't change anything, and I ...
1
vote
1answer
48 views

Azure DevOps pipeline upload to FTP after create directory on remote server

I developed a .net core console application and I want to deliver it to a FTP server. I managed it in Azure Devops with FTP Upload task. All good here. But before upload content to FTP, I want to ...
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 ...
1
vote
1answer
51 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 ...
2
votes
1answer
27 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 ...
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 ...
1
vote
1answer
99 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
145 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 ...
2
votes
2answers
83 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 ...
1
vote
1answer
38 views

How to avoid OOMKilled with azcopy on k8s

When running azcopy copy with huge repos, or when running azcopy bench, the pods are killed with the error OOMKilled. (azcopy v10) The pod has to following resource limitations: limits: { cpu: 1, ...
1
vote
0answers
11 views

How to properly deploy Azure Logic Apps via ARM with connected resources?

Sorry if my question is trivial but I am newbie in DevOps. I want to design smooth pipeline to deploy LogicApps along with ServiceBus and AzureStorage. Developers commit the code and it should ...
3
votes
1answer
581 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/...
0
votes
1answer
25 views

How to handle resource creation?

We're moving from a .NET monolithic application to a microservices architecture hosted on Azure. Until now, we only had one build definition on TFS and a release definition for each environment (...
-1
votes
2answers
62 views

DevOps approach to creating demo data?

Is there a good DevOps method to construct a workflow that creates demo data for a product? This situation is difficult when the app constantly changes. There are a few scenarios to consider. Either ...
0
votes
1answer
56 views

What is the DevOps Best Practices for Hybrid environments?

I want to learn best practices, and I hope you could help me with your expertise. In a large organization that uses cloud services and taking advantage of Infrastructure as Code (IaC). My two ...
0
votes
1answer
102 views

Applying manifests in Azure DevOps pipeline

Basically, I want the pipeline to apply some manifests before deploying images from ACR. No images need to be made. It would just be things like applying the issuer.yaml, ingress.yaml, and maybe a few ...
2
votes
1answer
124 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 ...
0
votes
2answers
26 views

'find' command suddenly not working in windows hosted agents

In the YAML file defining our ADO build pipeline we have the following section - bash: | pip install pylint find preprocessing/ subtyping/ visualisations/ -name '*.py' | grep -v hmm | grep -v ...
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 ...
3
votes
1answer
122 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 ...
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
30 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 ...
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?...
1
vote
1answer
18 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
1answer
170 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
600 views

Azure DevOps Build and Release pipeline artifact name variable

Trying to do something simple. Either access the name of the artifact from my release pipeline via some predefined variable, or create a variable for both my build and release pipeline for the ...
0
votes
1answer
6k views

How to resolve merge conflicts in Azure DevOps current UI

I have followed the instructions on command line: https://docs.microsoft.com/en-us/azure/devops/repos/git/merging?view=azure-devops&tabs=visual-studio all I want to do is resolve this merge ...
2
votes
1answer
476 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
89 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, ...
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 ...