Category "azure-devops"

Script path of PowerShell task Azure DevOps release

I have PowerShell script, that I would like to use in deployments of Dynamics 365 to migrate an Access Team Template to our Test and Prod environments. I have a

Resolve Azure YAML Pipeline overlapping variable names in multiple variable groups

We're working on converting our Classic Azure Pipelines to YAML Pipelines. One thing that is not clear is how to ensure that two different variable groups with

Enabling public access to SQL Server in Azure devops release pipelines

In order to run migrations on my Test Azure SQL which is configured with PrivateLink I temporarly enable public access and then disable it again. Set-AzSqlServe

Warning: Multiple merge bases detected. The list of commits displayed might be incomplete

In Azure Repos, I have created a PR from branch A to branch B. There are no merge conflict displayed. But I end up with the warning message Warning: Multiple m

How to upload zip file on remote server using Azure DevOps

I am using Azure Deveops for build and release my MVC website to the different client machines. I was successfully able to build and release .Net Core applicati

Load Balancer Service type in azure VM

I have created a Kubernetes cluster ( 1 master, 2 workers VMs) using kubeadm on Azure. Node type service is working as expected. But Load Balancer service type

what is the way to get the variable group id of AzureDevops using CLI command

We are using AzureDevops server and automated our pipeline variable group and variables creation using a pre-build task which will run bash script below and wil

Construct a condition in Azure DevOps using 'each'

In Azure DevOps (YAML pipeline), we have a stages that should be run only after another set of stages have been skipped. In the example below, the parameter cop

Azure DevOps pipeline - How to tag sources when using multiple Git source repos

I have a multi-stage pipeline that is building multiple applications. I generate a common tag once per pipeline run. How do I have the pipeline update each sour

Build and push a docker image with build arguments from DevOps to ACR

I'm building a docker image in an Azure DevOps pipeline, then I want to push it to the Azure Container registry. The registry is already created and I've config

Azure devops Variables and Terraform

I am trying to create a azure key vault with the help of terraform where i want to save my DB password in my azure devops pipeline because obviously I cannot ha

Azure DevOps Pipelines - Python - ModuleNotFoundError despite sys.path.append() or setting PYTHONPATH

I'm trying to run some tests for my python application but I'm not able to set the path correctly so that my test.py can find it. My Application is structured

Skip pipeline build on branch creation

My YAML file does not have any triggers configured, so it runs on every commit, which I am happy with. But it also runs every time I create a new branch. As thi

Git partial/sparse/narrow fetch and update in Azure Devops Hosted Agent

I am wondering if it's possible to fetch only a single file from a Git repository in order to commit a new change to it. We want to change the file on a Azure D

Increase the version of npm in Azure DevOps pipeline

I have a YAML pipeline on Azure DevOps for building our client-side scripts via npm. The problem is that the pipeline is using version '6.14.13'. I would like t

Azure dev ops conflict merge

So we have a code repo in Azure Dev Ops and two people working on the project. Being used to TFS we are adapting to Dev Ops and Git. My co worker has commited a

Invicti Scan aborted because state is Failed

As part of our Azure DevOps Pipeline, we have to run a NetSparker scan. Currently the scan failed with this very cryptic error message: Starting: netsparkerclou

"fatal: Authentication failed" with git-credential-manager

I'm using Azure DevOps for the first time to host my next project. When I created an empty project on Azure Devops, I tried to clone it. While attempting to clo

How to print terraform variable values?

I am learning terraform. I want to print values of variables in "plan" stage. So I found how to do it. seems I am doing something wrong here.... in variables.tf

Azure Devops can't disable "New service connections experience"

I'm trying to disable the Preview features New service connections experience. But the switch button stays gray with all roles. It's actually impossible to dis