Questions tagged [azure-devops]

Azure DevOps is a suite of 5 services you use together or independently. For example, Azure Pipelines provides build services (CI), that are free for open source projects and available in the GitHub marketplace. Azure Pipelines also provides release management for continuous delivery (CD) to any cloud and on-premises servers. Azure Repos provides unlimited private Git hosting, Azure Boards provides agile planning (issues, Kanban, Scrum, and dashboards).

0
votes
0answers
4 views

VSTS JSON variable substitution without environment variables

I would like to override the json file in the release pipeline with out creating the pipeline variables. I have master config file as below { "resourceGroup":"dev", "serviceName":"api-dev" } ...
0
votes
0answers
5 views

Retry failed deployment takes 5-10 to start actual deployment(hangs !!)

I have TFS 2015 , with Release Management Server 2015(In Release) on a different server, when I connect to RM Server from RM client to retry failed deployment, it takes around 5-10 minutes(It ...
0
votes
0answers
7 views

How to clone a git repo on Bitbucket to Azure Devops so that I can link pushes Work Items

I would like to clone repositories on Bitbucket to my Azure DevOps project so I can link Work Items to all my pushes. Before I go on, is this goal of mine something completely infeasible and a waste ...
0
votes
0answers
13 views

Publish Universal Package using Release Pipeline

When I attempt to publish a universal package using Azure DevOps release pipeline it says it succeeds however I am unable to see the package. What I want to do is use my build pipeline to build an ...
0
votes
0answers
13 views

How to SQL rollback previous version of Dacpac using devops/VSTS

I need to rollback the previous version of dacpac using DveOps/VSTS. If any limitation and it is possible? Please give me any ideas. Thanks.
0
votes
2answers
16 views

Move repos to other project

During the years, i wrongly used Visualstudioonline (now Azure DevOPs). I created a project (believing that this was a repo) and then create a folder on each where i stored the various project. Now i ...
1
vote
0answers
13 views

App keeps stopping (only on apk from Azure DevOps)?

We are deploying our Xamarin android app inhouse using Azure DevOps. The App builds, deploys, and runs smoothly from VS2019. We are also able to sign our apk using the Android Package Signing option. ...
0
votes
1answer
12 views

Building Docker container for .NET Framework 4.7.x in Azure DevOps

I currently have a standard .NET Framework web application. With Docker support. I would like to build these Docker images using Azure DevOps but there don't seem to be any clear tutorials on how to ...
0
votes
0answers
17 views

Powershell Access Azure DevOps Secret Variables

I am attempting to read an Azure DevOps secret variable from a Powershell pipeline script. The variable looks like this within Azure: I've attempted to access the secret variable both as a param such ...
0
votes
2answers
35 views

How do I import a PowerShell module for use by a pipeline task

I'm creating a Build Pipeline in Azure DevOps. I have a PowerShell task that invokes a script inside a file - it's not "inline" PowerShell. That script needs the Az.Accounts module so I added Import-...
1
vote
0answers
18 views

How can I install an Azure DevOps custom task without publishing it online for other people to see?

I want to create a private task that is only accessible in my organization, so I used the tfx command line tool as described here to install it. But when I do so using tfx extension install, I get ...
-1
votes
1answer
19 views

Migration from TFS 2013 to Azure DevOps

I have TFS 2013 installed and have lot of code exist in TFS 2013.I would like to migrate TFS 2013 to Azure DevOps. I seen some ways in online but none of them looks easier to understand.I tried ...
0
votes
1answer
15 views

Restrict User Access to Board from Azure DevOps

As a DevOps administrator I want to give restricted access to the backlog of our project to a user. I want to limit his access. Meaning that the user can only see Work Items he has created in the ...
0
votes
1answer
28 views

Unable to trigger pull request release in Azure DevOps

I have set up a pull request release trigger in the following way. I want to deploy Artifacts from VerifyApiTestEnvironment branch whenever pull request into that branch is successfully completed. ...
0
votes
0answers
17 views

Environment Variables in tfs build agent for containerized .Net Web Api

I have a .Net Core Web API that we are containerizing and deploying via Azure App Services. Current architecture has it with just 3 environment variables, and the rest of our settings are in ...
-1
votes
1answer
12 views

Prevent User from approving Pull Request

I have run into an issue where if my project managers are rushing, they sometimes will help move pull requests along by 'approving' them. As we have set the branch policy to require at least 2 ...
0
votes
0answers
9 views

Merging coverage results from multiple Azure Pipeline jobs in Python (with pytest)

I've setup my open source project to run CI with Azure Pipelines, and am collecting code coverage following the example from the Azure pipelines docs on how to test Python apps. This seems to work ...
0
votes
0answers
10 views

Invalid on demand test run run id 0 error when running pipeline test

I'm running automation tests through my Azure DevOps pipeline. The tests run successfully in one environment but when it goes to run in the next environment I get the following errors: [error]Input ...
0
votes
2answers
33 views

-split ' ' that works locally in Powershell does not work in a Azure pipeline Powershell task

I am using git diff command to get the file that changed between the last 2 commits and based on the action have to do different things with the files. So I have to extract the action on the file and ...
0
votes
0answers
14 views

Is there any way to order/group work item type in Azure DevOps release notes

I'm setting up a release notes step in my build pipeline, and I want to group/order work items by type. In build task for generating release notes step, I add task "Generate Release Notes for ...
-1
votes
0answers
16 views

Configure Azure DevOps for SQL Build & Release Using Git Repos

I'm trying to ascertain whether or not I need to use Visual Studio within our DevOps lifecyle for SQL Server database development, given my preference for applications/tools is as follows: Azure ...
1
vote
0answers
13 views

Angular build cannot find module with relative path (on azure dev ops)

I have a problem getting a mid-sized Angular 7 project to build on Azure Dev Ops Pipelines. So I created a minimal project to recreate the issue. Using Angular CLI (7.2.4) I created a new project ng ...
0
votes
0answers
21 views

Azure Budget ARM Template doesn't work 2nd time

I created a simple Azure Budget ARM template. It works the first time. But if i try to deploy the same template again then it gives below error. "details": [ { "code": "...
0
votes
0answers
10 views

How can I stop/start Azure app service from PS script only with public profiles data?

I need to add a step to stop the Azure app service to the pipeline before the deployment the web application in the Azure DevOps, and after the deployment to start app from pipeline. I can't use ...
2
votes
0answers
29 views

How to add a new tab in Azure DevOps build result to show HTML content?

I need to display HTML content in a new tab in the build summary of an Azure DevOps pipeline. The HTML file is generated from a task of the pipeline. How to do that? I have followed this guide (https:...
1
vote
2answers
28 views

Azure Pipelines - use tool downloaded from NuGet in .NET Core project

How do I configure build step in Azure Pipelines to execute command GitVersion.exe if the executable is obtained from NuGet GitVersion.CommandLine by .NET Core project? In .NET Framework executable ...
0
votes
0answers
19 views

Git failed with a fatal error.Authentication failed when clone repository from VS 2017

We have an on-premise installation of TFS 2018 running. On all but one workspaces we can work fine with the TFS-Git repository. On one workplace there is an issue with authentication. While cloning ...
1
vote
0answers
16 views

When I am calling VSTS API for uploading file with special characters,My filename is getting truncated and all special caharacters are ignored

I am calling VSTS API to upload file attachment with file name having special characters. But the file name is getting truncated and all characters starting from first special characters gets ...
0
votes
2answers
25 views

How to use pipeline variable inside property file from git

In Azure pipeline I download kubernetes deployment.yml property file which contains following content. spec: imagePullSecrets: - name: some-secret containers: - name: container-name image:...
0
votes
1answer
38 views

Publishing NuGet packages to Azure Artifacts from PR's

Can Azure Artifacts packages be made available publicly? If so, I'd like publish NuGet packages from a PR to my GitHub project. I currently get the following permissions error from PR builds: [...
1
vote
0answers
26 views

Get parameters from Test Azure to C# automated testing

I have a test plan solution on Azure DevOps, where I can run my manual tests with different parameters. How do i get these parameters to work with my automated testing? How do i get these parameters, ...
1
vote
0answers
10 views

Azure Devops: Developing pipeline YAML files by running locally

I am struggling with my Azure DevOps pipeline and would like to see the directory structure of the build. My current issue is with setting up testing with code coverage reporting for multiple (...
0
votes
0answers
11 views

Unable to determine Identity

When I use this build task on hosted macOS in azure devops, I'm getting some errors that are causing the build to fail at various steps. Old Node Version You are running version v6.17.0 of Node.js, ...
0
votes
1answer
17 views

Azure DevOps wait until another build in same CI is done

Is there any way of making the build in VSTS/Azure DevOps wait until another build in the same CI is done. I want to be able to use the Hosted agent but be able to do that. I don't want to use my own ...
0
votes
0answers
20 views

Printing the Console output in the Azure DevOps Test Run task

I am doing some initial one off setup using [BeforeTestRun] hook for my specflow tests. This does check on some users to make sure if they exist and creates them with specific roles and permissions if ...
1
vote
1answer
22 views

Publish only certain artifacts from one big project

I have set up maven repository in azure-devops where I can publish artifacts. I want to publish only certain artifacts from my big project which I am not able to achieve I am using this xml snippet ...
0
votes
0answers
16 views

convert spring boot tomcat azure k8s deployment to standalone application

I have created an azure devops project for java , spring boot and kubernetes as a way to learn about the azure technology set. It does work , the simple spring boot web application is deployed and ...
0
votes
1answer
27 views

What TCP ports are used for Azure DevOps Artifacts Universal Packages?

As the questions says: What port number does the Azure DevOps task "Universal packages" use to communicate back to Azure DevOps Artifacts in order to fetch packages down? In the company I have ...
0
votes
0answers
26 views

Azure Devops integration error in Azure DataBricks

I am getting following error while syncing a azure databricks notebook with an Azure DevOps repo I've linked it to: Error while syncing Git history: Numeric value (3204746134) out of range of int? ...
-1
votes
0answers
18 views

Running a T-SQL script in release pipeline

I am trying to get a database deployed on SQL Azure, and I have post Deployment script on my SSDT which is way too long and is kind of timing out during the deployment. I am tried to take it out and ...
0
votes
1answer
41 views

On Azure DevOps Server 2019, how can I merge the master branch into develop branch WITHOUT its policies being applied?

On a NuGet library, I'm using the develop branch as the continuous integration branch. I've set policies on it so that no pull request can be approved without it being built. Furthermore, any ...
0
votes
0answers
23 views

Symbols not loading for remote debugging on ASP.Net app built and deployed from Azure DevOps Pipeline

I have an ASP.Net application who's code is sitting in an Azure Repo. The project has a build pipeline that builds on master branch merges. I then have a Deployment pipeline that takes the latest ...
0
votes
1answer
27 views

How to use NAnt to build with Azure DevOps and Git?

We have NAnt builds set up that currently pulls the source code from TFS via the command line. We are switching over to Azure DevOps and from what I understand, the source code provider is Git. I ...
1
vote
2answers
61 views

scheduled builds never trigger in azure devops pipeline

I have the following configuration in my open source project hosted on GitHub: https://github.com/wez/wezterm/blob/master/azure-pipelines.yml#L9 schedules: - cron: "0 0 * * *" displayName: Daily ...
0
votes
2answers
32 views

How do I have a reviewer automatically approve a pull request on functional test completion?

I've got an Azure DevOps Git repository that sits in Azure DevOps in the cloud. We're using Pull Requests to manage code merging down to our release branch. The feature branches have an automatic ...
0
votes
0answers
17 views

DevOps or SQLDataFactory pipline to Manipulate SQL Backup

Currently I have a PowerShell solution that the client would want in Azure DevOps, I've highlighted the steps below and wanted to know if it's possible to achieve this in either Azure DevOps or SQL ...
0
votes
0answers
19 views

Change a key vault tenant ID after a subscription move now application is not working properly?

Once the key vault subscription changed following https://docs.microsoft.com/en-us/azure/key-vault/key-vault-subscription-move-fix doc all the previous access policies have been deleted. What should i ...
0
votes
0answers
23 views

Setting chrome driver executable path keeps is causing my build to fail

I have been fighting with this too long, and now decided to solicit help from those who have experience. I'm attempting to use chromedriver in azure devops environment, but when I set the path to ...
0
votes
0answers
10 views

Azure Pipelines code coverage not showing cyclomatic complexity values using Cobertana

I am using an Azure build pipeline to test my assemblies. Cobertura is used as output type and assembled as nice report using the reportgenerator. When I open a detail of the code coverage, I get a ...
0
votes
1answer
31 views

Access GitVersion variable in azure pipeline for javascript build

I've got the following pipeline: steps: - task: [email protected] - script: | echo '##vso[task.setvariable variable=buildVersion]$(GitVersion.FullSemVer")' - task: [email protected] inputs: ...