Category "azure-devops"

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

Selenium screenshots in VSTS (Azure DevOps)

According to my searches, it should "just work". This is the best article I found. I've followed the steps, but nowhere in the VSTS (Azure DevOps) interface doe

How do I set the default document of an Azure App Service when it exists in a subdirectory?

I am deploying an Azure App Service from Azure DevOps via a release pipeline that is configured to perform an Azure App Service Deploy task on my build agent. T

How could I run kubectl -k in an Azure DevOps pipeline?

Currently the Azure kubectl task uses Kubectl version 1.13.xxx. Is there any way to run a newer version of kubectl that supports apply -k or kustomize?

Azure Devops Get a repositoryId by using repository name

I am writing a BASH script, where its creating an azure repo and then pushing code. post this step it will go-ahead and create an azure pipeline via azure-pipel

TFS 2010 Upgrade to TFS 2013 - Can Window Server 2019 Standard Support the Upgrade?

We are looking to carry out the following TFS upgrades in our Production environment: Upgrade TFS 2010 to TFS 2013.5 Upgrade TFS 2013.5 to TFS 2019 To support

Cannot acces keyvault secrets through service endpoint in a VSTS release

We're trying to download secrets with the download key vault secrets release task in VSTS. The service principal is add in the key vault's access policies, al

Does Azure WEBSITE_RUN_FROM_PACKAGE really mean don't unpack the zip archive?

I'm doing a zip deploy of a .NET Framework web app to an Azure App Service via a GitHub workflow. I have set WEBSITE_RUN_FROM_PACKAGE to 1 in the Azure console'

Azure pipeline - How to specify auto retry on failure builds

In Jenkins CI, there's a plugin to "Retry build after failure", where we can specify number of times we want the build to auto trigger when job fails. Does some

How to pass complex DevOps pipeline template parameter to script

In an Azure DevOps pipeline template, I am declaring a parameter as an array/sequence parameters: mySubscription: '' myArray: [] steps: - AzureCLI@2 inp