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
1
vote
1answer
461 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
1answer
242 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
70 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
39 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 ...
1
vote
1answer
45 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 ...
1
vote
1answer
24 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
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
580 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 ...
1
vote
1answer
143 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
96 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
48 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
599 views

How to integrate firebase functions into devops pipeline

I have a project which has firebase functions From my local I can run firebase deploy --only functions and it will build and deploy firebase functions to firebase. Now I want to enable CICD via ...
1
vote
1answer
137 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
68 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
62 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
1k views

How to setup multiple build environments in Azure DevOps/TFS2018?

So I have an application that contains an ASP.NET Core backend and a React frontend (pure static). In our TFS 2018, we have created a Build that does the following: Get sources from the repo Get ...
1
vote
1answer
64 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
485 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
0answers
5 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 ...
1
vote
0answers
29 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
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
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 ...
1
vote
0answers
168 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\...
1
vote
1answer
111 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 ...
1
vote
0answers
308 views

How Build Retention Policy Works in VSTS/Azure DevOps Server 2019 using Build Definitions [closed]

Hi , I want to know How Build Retention Policy Work Internally. I have a shared location where outputs of all Builds copied.Build retention Policy deletes those outputs/artifacts according to ...
1
vote
1answer
551 views

How trigger a build by a commit in a branch prefix?

On the Azure DevOps, in we git we have a schema of branches where we create a branch per sprint, for sample: sprint01 sprint02 sprint03 ... We keep the 3 last sprint branches, and in this case when ...
1
vote
1answer
93 views

Is there any latest technology which will replace Docker, Kubernetes in future? [closed]

What's the future of engineers starting career in tools like Docker, Kubernetes?
1
vote
0answers
764 views

Cannot add a new user in Azure DevOps [closed]

Trying to add a new user to a project, but the task keeps failing with the following error: "You are trying to invite a user from outside your directory but you are not allowed to make common users ...
1
vote
0answers
25 views

Why does AAD not Sync with Organisation users? [closed]

I have an issue with email addresses (username) not sync-ing with AAD and DevOps organisations. I had some email addresses in mixed case (upper & lower) in the AAD, but made them all lowercase ...
1
vote
0answers
281 views

Add a rule to a work item type with formula in Azure DevOps boards [closed]

In Azure DevOps I'm adding some fields on a task and now I'll do some calculations with them. For example if I enter in field A 10 and in the field B 50, field C must be equal to 15, calculated using ...
1
vote
2answers
91 views

VSTS deployment variable

So I'm automating a process we currently have where we deploy a database and then have an exe that 'activates' the database. The default values are different for each product and is determined by a ...
1
vote
1answer
429 views

Problem Restore EF Core 2.1.1 in VSTS, Hosted VS2017

I have a project with Asp.Net Core 2.1.1, so I have to force the runtime to 2.1.1, when I added the EF Core 2.1.1 packages (SqlServer, Design and Tools). Locally the project performs well, however in ...
1
vote
1answer
385 views

Linking VSTS build with jenkins artifacts

So I have a local jenkins server building artifacts. I trigger this build through VSTS. When browsing through the logs when uploading the artifacts to VSTS from the local jenkins server I found this:...
0
votes
2answers
100 views

How to keep original and new repositories in sync during a migration? (including the commit history)

We have a git repository that is currently hosted on Azure Devops and have to migrate it to our in house TFS 2017 git (the move is due to a business decision). But during this setup we need to run ...
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 ...
0
votes
1answer
37 views

PowerShell command to automate Azure Linux VM [closed]

I am looking for some PowerShell command which can check if any update/patch need to be applied to existing Azure Linux VM and then apply the patch if required. I will then use this PowerShell ...
0
votes
1answer
54 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
3answers
58 views

Where would DevOps Engineers mostly look for their next opportunity and what would it be? [closed]

Where do DevOp Engineers find their next opportunity? Users Groups, Associations, Job Boards? What do DevOps look for in their next role?
0
votes
1answer
44 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 ...
0
votes
1answer
24 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
1answer
5k 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 ...
0
votes
1answer
12 views

How to build Java project on existing virtual machine in Azure?

In my project we are using Azure DevOps in which we have a pipeline which pulls code from code repository downloads Ubuntu container installs Maven downloads all the dependencies then tries to build ...
0
votes
1answer
497 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 ...
0
votes
1answer
517 views

Git Remote Access in Azure Pipelines, possible?

I'm trying to achieve the following through the build pipeline. Default branch: SIT (from the Azure Repos repository) Trigger: whenever a change is made in DEV branch In a powershell task do the ...
0
votes
1answer
25 views

Azure DevOps extract unique visitors

I am running a version of Azure DevOps and would like to track adoption. Is it possible to get the number of unique visitors who have logged in / used Azure DevOps in the last 30 days, for instance?
0
votes
2answers
3k views

CI/CD pipelines Azure devops automatic merge after deploy release

I have a classic env. setup like following: I have 2 branches : Develop and Master. Is there any way in azure devops to setup the following rule: When a deploy is succeeded on dev environment (...
0
votes
1answer
112 views

TFS Service hook should not fire when work item is updated via REST API

I wrote a service hook on work item update but I don't want to fire the service hook when work item is updated from REST API, becz its the same data that other system had and it post to ADO and now ...
0
votes
1answer
33 views

Organizing the build steps on AzureDevOps

I am new on DevOps world and I am making my first build/release pipeline for a .net web application using Azure DevOps. On the picture bellow, I just add some build steps and create some tasks groups ...
0
votes
1answer
40 views

Microsoft DevOps: build triggering vs release

I have this setup: Build 1 builds and trigger Release 1 when finished Build 2 is triggered by Build 1 and release Release 2 If I have one parallel job, can I be sure that: Release 1 is always run ...
0
votes
1answer
346 views

How to build windows image on azure dev ops hosted agent

The host agent pool on azure-devops to build windows container, Hosted Windows Container is running Windows Server version 1803. But I want to deploy on Windows Server 2019, so instead of using ...