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
2 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 ...
0
votes
0answers
15 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 pipleline and then building it up incrementally in small steps, because inexplicable errors are ...
0
votes
1answer
45 views

How to authenticate, with azure devops services, using SAML via on premise standalone java application?

We have a network where azure DevOps services can be used by logging in via SAML. There is an independent java application in that same network. Can anyone please point out a way that this java ...
0
votes
0answers
5 views

Defining users in Azure Active Directory for Single Sign-On

I have a web application that I want to implement in Azure. The application has a login screen and I want to replace it with Azure Active Directory where the application will be part of a Single Sign-...
0
votes
0answers
5 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 ...
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 ...
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
19 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
20 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 ...
0
votes
1answer
51 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 ...
-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
2answers
103 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
0answers
19 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 ...
3
votes
1answer
127 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
52 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 ...
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: ...
2
votes
1answer
35 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 ...
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 ...
0
votes
1answer
48 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
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
18 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 ...
1
vote
0answers
68 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 ...
1
vote
1answer
132 views

How do I enable Progress report for Test Plans

Sprint 156 update rolled out Progress report in preview (should be an option between Test plans* and Parameters) but I can't seem to find where to enable it. I have turned on all my previews and still ...
4
votes
1answer
91 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 ...
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
629 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
50 views

How to restrict access on changing task status in Azure Devops

My manager would like to use the Azure DevOps board feature to keep track of her employee's tasks but asked if there is a way so that only she can move or closeout task items. It's a process control ...
0
votes
0answers
30 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 ...
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 ...
1
vote
1answer
55 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
30 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 ...
0
votes
1answer
7k 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 ...
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 ...
2
votes
2answers
91 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
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 ...
1
vote
1answer
106 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
156 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 ...
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
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 (...
0
votes
2answers
27 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
40 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 ...
-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 ...
2
votes
1answer
238 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 ...
0
votes
1answer
104 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 ...
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 ...
2
votes
1answer
128 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 ...