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
13 views

Write to Azure Devops repo from SQL Server Agent job

I have an on-prem MS SQL Server CmdExec job that requires access to local file storage, the SQL server database, and a git repository in azure devops. Example CmdExe rem "Access sql server ...
1
vote
0answers
8 views

Run Test Classes in yml script for Azure Devops ( Using Ant Structure )

I have been working on this issue from last many days but no success. I want to run test classes in my salesforce org & we have implemented azure devops with Ant structure / tool. Below is my ...
1
vote
1answer
19 views

Configure Azure DevOps Server to send email using Office365

I'm trying to configure my Azure DevOps Server to send emails using my Office 365 account, with no luck. I tried setting the SMTP server as indicated on this page: POP, IMAP, and SMTP settings but it ...
0
votes
0answers
14 views

Is it possible to define capacity per Area path in Azure Devops?

Background: We have 3 teams in one Azure devops project. I would like these teams to be stable, and not shift people around when working on new projects. Each team work on multiple clients, and we've ...
1
vote
0answers
9 views

How To Change the Default Dropdown Pipeline in Azure Pipelines

When I run a pipeline in Azure DevOps, I notice that the dropdown defaults to the master branch. I want it to default to the develop branch. How do I change this? Picture for context:
0
votes
0answers
4 views

Programmatically access output of azure pipeline runs?

Is there an SDK or cli tooling to retrieve the logging output of steps from azure pipeline runs ? I'd really like to be able to grep into the output of a given template I am changing for prior runs ...
0
votes
2answers
45 views

Deployment Error: getaddrinfo ENOTFOUND <appServiceName>.scm.<appServiceEnvironment>.appserviceenvironment.net

Issue We're getting the error: ##[error]Error: Error: Failed to deploy web package to App Service. Error: getaddrinfo ENOTFOUND {appServiceName}.scm.{appServiceEnvironment}.appserviceenvironment.net {...
0
votes
0answers
13 views

Salesforce Devops :- Powershell script for fetching aura or lwc folder

I am working with azure devops with salesforce. My query is :- I wrote a powershell script by which if anyone do changes in any single file inside aura component or LWC component folders , the script ...
1
vote
0answers
20 views

Review of a Azure DevOps pull request

When reviewing a pull request, is there a way to make all the remarks in one go? And even better would be the ability to also make a draft so I can do the review in stages. The reason for this is I ...
0
votes
0answers
14 views

App service Slot received 40% request after swap

My web application in Azure has two deployment slots - staging and production. The purpose is perform blue/green deployment and the following steps perform the blue/green: start and deploy to slot ...
0
votes
0answers
22 views

How to Stop a Backslash in appSetting.config Being Doubled

I am new to Devops in general and am struggling to get a stage of my CI/CD Pipeline in Azure Devops to work correctly. This is a full YAML CI/CD in the Pipelines section. I have not used the Classic ...
1
vote
0answers
13 views

Checking the Windows SDK version for remote hosted Azure Agents

I've built a C++ application in Visual Studio 2019. Now, I want to build it in Azure using remote-hosted agents. When I tried to build it, however, it says: The Windows SDK version 10.0.14393 was not ...
1
vote
0answers
43 views

How to complete/close Azure pull request by default when Branches are merged in Azure?

We have a process of creating pull request before deploying a work item. Pull request will run some quality gates and a reviewer will approve the process (granted if everything is fine). Then the ...
2
votes
1answer
41 views

Creating a Kanban Board in Azure DevOps

We are using Azure Boards as a Project Management Tool where we capture customer requirements and then track all the work_items by creating a user_stories and splitting them into multiple tasks and so ...
0
votes
0answers
20 views

YAML based azure build pipeline to run particular tasks based on condition?

Need to create a YAML based azure build pipeline i.e, need to run particular tasks like only build step when it is PR automated and when the same pipeline manually run it should run build task along ...
0
votes
0answers
8 views

Best practice for Azure certificate management?

We had an Azure Principal Certificate expire on us, and no one knew until a pipeline became unusable. Someone offered to set a team calendar appointment to remind the DevOPS engineer (the person who ...
0
votes
0answers
9 views

PowerShell / CMD for DevOps - Adding Files to the Repos Automatically, is it possible?

Is it possible to use PowerShell or CMD to add files to DevOps > Repos Automatically? If so, what do I need to research or do? Could you point me in the right direction? I've researched various ...
1
vote
0answers
18 views

Do any editors offer syntax checking when editing bash shell inline in yaml file?

Has anyone figured out how to perform syntax checking when you have inline bash shell code inside a pipeline yaml file ? ... I typically use the atom editor but willing to use any editor I am ...
0
votes
0answers
14 views

How can I prune and ignore directories from TFS

I have Visual Studio 2019 Professional and we use Azure DevOps TFS for our source control. I am working on a brand new Asp.Net Core 5 app with React. There are two developers on this project ...
2
votes
1answer
58 views

Deploy an application using dll files to IIS on a VM

I hope I am posting this in the correct forum, but to me at least, it seemed that the focus was more on deployment. I am currently stuck after having successfully refactored an application by ...
0
votes
0answers
19 views

How to create dependent tasks in Azure Boards

As part of an iteration, we create a user story and then several tasks under that. Assume totally there are 6 tasks, whereas we can start working on the 3rd task only after we complete the first 2 ...
0
votes
0answers
12 views

E2E Testing REST APIs (Azure)

What is a good start (e.g. a tool) to E2E test REST APIs and interface communication? Is there anything in the Azure DevOps environment? I know about Postman, SoapUI and Pact, but I wonder whether ...
0
votes
0answers
12 views

Targeting specific branches by selecting a release version instead of branch

In Azure DevOps, when submitting a pull request, you need to select the appropriate branch you'd like to merge into. Does anyone know of a setting in DevOps to allow developers to select something ...
1
vote
1answer
75 views

Build a app.exe file. Where to release it?

I have a specific question about Azure DevOps Pipeline CI/CD. I'm use to create CI and CD pipeline for IIS web application deployments. Sometime, I also do Click Once deployments. This time, I'm using ...
3
votes
2answers
1k views

How is my branch is one commit behind master

I have a branch and I merged it into the master branch (via Pull Request).Then I un-ticked the box to not delete the branch. Now when I look at the branches this particular branch shows as 1 commit ...
0
votes
1answer
28 views

Build .NET Projects using Visual Studio vs Azure Pipelines

We have many developments going on in.NET and developers use Visual Studio 2019 to Develop / Build / Test applications on their local machine first and then they publish it to Azure App Service ...
2
votes
1answer
35 views

ADO: Able to use pipeline variables in a query?

I would like to have a gate which requires at least one work item of the 'Release' type associated with the pipeline. Is there a way to have the gate query execute SELECT [System.Id] FROM WorkItems ...
0
votes
1answer
159 views

Diagrams in Azure DevOps

I'd like to include markdown diagrams in my project's source code. I'd also like to see them rendered in Azure DevOps when looking at source/pull-requests when I click on the Preview tab for the file. ...
2
votes
2answers
61 views

One or multiple git repositories for independent small parts of one larger project?

We are developing an Azure-based analytics platform that consists of several modules. Among other things, Azure functions, scripts for creating the infrastructure and scripts for initialising the ...
5
votes
1answer
74 views

How would you build docker images in Kubernetes while distributing its layer caching among all pod builders at scale?

We are using Azure DevOps as our CICD platform. We have our own self hosted Linux agents which we integrated into our CICD Azure Kubernetes Cluster . We use these agents to build our Docker images ...
0
votes
1answer
28 views

Nginx-Ingress Controller are compatible with Network Security Policy or not?

I have created one application where I use Nginx-Ingress Controller version 3.29.0. Without using network security policy I'm able to access my application. But, after applying network security policy,...
1
vote
1answer
153 views

How to get information about resources in an Azure Pipelines run?

I work in a platform team that builds and supports Azure Pipelines YAML templates and various custom scripting for these pipelines. People in my organisation use these YAML templates like: resources: ...
1
vote
1answer
399 views

Sprints section shows tasks as unparented

I am not sure if this has been answered before, I have looked all over Google and can't seem to find any real answer. Apparently Microsoft allows you to view parent items to tasks in the Sprints ...
1
vote
1answer
63 views

See Azure DevOps WorkItems/Tasks in Planner?

We are using Microsoft Teams and Planner since a while. Now we are migrating from Bitbucket/Bamboo to Azure DevOps. If I create a Team in Microsoft Teams with a Planner-Board, I can see all my tasks ...
1
vote
1answer
20 views

How do you stop malicious requests in Azure APIM from repeatedly hitting your rate or quota limits?

You have an open facing Azure API Gateway that can be consumed by anyone and you want to protect yourself from the API being spammed by the same IP or the same individual behind multiple IP's. There ...
0
votes
2answers
963 views

Azure Devops Pipeline variables in Powershell

I've tried to figure this out and I can't see why my ipaddress is not getting set. I've checked code samples and they all suggest I am doing everything correct. ip variable defined here: This is my ...
0
votes
1answer
13 views

Make a job easily searchable in Azure Runbook

I have a number of different jobs in my Azure Runbook. However, I don't have an easy way of differentiating between jobs when I look at the Overview of the Runbook. I am forced to click on each ...
1
vote
1answer
104 views

Azure Release Pipeline Fails Using Expand-Archive Command

Sometime in the last week, our pipeline started using Expand-Archive to open the .zip file during the "IIS Web App Deployment" step instead of 7-Zip. It does not appear that this was done by ...
0
votes
1answer
222 views

Retrieving project version from csproj in Azure Pipeline .NET Core CLI task

I have the following tasks in my yaml file in Azure DevOps It publishes my console application and zip it in a file - task: DotNetCoreCLI@2 inputs: command: 'publish' publishWebProjects: ...
1
vote
1answer
50 views

Ansible - Azure resource referencing

My aim is to have my vnet and subnet in a seperate resource group from the other parts of my infrastructure i.e Virtual Machines. I have a short playbook that creates the resource group for my network ...
2
votes
1answer
164 views

Azure Dev Ops delete releases not going to production

I have several release pipelines that build to a UAT environment on a continuous integration. They await deployment to Production on an approval. A new release cancels the previous Production ...
0
votes
1answer
218 views

REST API: create project with powershell returns unspecified internal error

I'm creating a a project with the code below. The response is always an unspecified error. Invoke-RestMethod : {"$id":"1","innerException":null,"message":"...
-1
votes
1answer
129 views

Documentation of Azure DevOps Server 2019 Rest API

Is there anywhere a documentation, that ony references the RestApi 5.0? So I can find only what I am able to use?
1
vote
1answer
195 views

Azure Devops - workflow/strategy for uploading only changed files to shared hosting provider after a build of static website (Jekyll)

Scenario: I'm using the Ruby/Jekyll build process to generate a static website from markdown etc files via a templating process -- the same flow as the one used by Github Pages but instead of hosting ...
1
vote
1answer
111 views

How to skip Build without creating Drop and not triggering Release in Azure DevOps

Currently we have a build pipeline which checks if there is a PR for the current branch and if yes it sets a variable and skips the other build steps. But when this happens the Release still completes ...
1
vote
1answer
419 views

Azure DevOps deploy to Azure VM's without a public IP

Is it possible to deploy from Azure DevOps to an Azure VM that only has a private IP address? I need to deploy to VM's that won't always have a public IP address. I thought there might have been some ...
0
votes
1answer
391 views

How to skip reviewer for project administrator pull request?

Is it possible to configure the repository to skip "At least one reviewer must approve the most recent iteration" in case the person who performs the Pull request is the project ...
1
vote
0answers
28 views

In AzureDevops CI pipeline how to check if missing to add-migration in EF Core 3

I have a CI pipeline, in Azure DevOps, to build a .net core 3 project which uses EF Core 3, I need a way to check if the developer missed to do Add-Migration after they changed the model in the system....
1
vote
1answer
33 views

Watch folder, when direct changes are made push to repo

So I have an azure devops repo and pipeline that copys the repo to my server when changes are pushed. However there are times when some of our developers may make a direct edit to the production ...
1
vote
1answer
84 views

Import data from SharePoint to Azure DevOps

We have migrated to DevOps from SharePoint 2010. We need to Import all the user stories we have in sharepoint to Azure DevOps . Can any one help me with a better way to go about this? Know someone who ...