Category "azure-pipelines"

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

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

In Azure Pipelines how to post a dynamic, multi-line comment generated in a previous step using GitHubComment task?

In an Azure Pipeline, the following will post a multi-line comment to a GitHub PR: stages: - stage: MyStage jobs: - job: CommentOnPR steps:

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

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

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

Pull an image from AzureCR using docker task in Azure pipeline

I am trying to pull a docker image from an Azure CR connected via service connection. I was following this guideline https://docs.microsoft.com/en-us/azure/devo

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

VSTest task in Azure devops timing out after 60 minutes

I implemented a test method using MSTest2, the execution of the test code takes about a minute. This test uses DataTestMethod with DynamicData source. The resul

Azure DevOps: How to retrieve a build artifact from build Azure Pipeline from a PowerShell Script in Release Pipeline?

I have a published a build artifact published to $(Build.ArtifactStagingDirectory)/drop with artifactName "some_sidebar" and the artifact publish location is Az

Secret Pipeline Parameter in Azure Devops

I have a use case where I want to use pipeline parameters in a yaml pipeline with user name and password. For the username it's easy because I simply add the fo

Build a jar file from project folder in a specific location of git repository using azure devops

I am having a git repository for my project with a structure as shown below. The structuring is based on the source, all the codes, scripts related to a sourc

What is the difference between Pipeline and Release Pipeline in azure devops?

An yaml file is generated while you choose this option shown below: In this yaml file, you can define an entire deployment cycle starting from restore ->

Read key vault secrets in Azure DevOps pipeline

I am using Azure DevOps yaml pipelines. My storage account and other application values are saved as secrets in a key vault. I have made a variable group by lin

MSBuild ignoring /p:BuildProjectReferences=false on Azure build server

I've a solution with three projects in it: 2 C# WPF projects and 1 WIX project to create an installer. I've set up a build pipeline on Azure DevOps that referen

How can I use Azure Devops Release Pipeline Variables in a Kubernetes CI/CD with Helm?

I'm currently working on setting up a CI/CD pipeline to my client's new Kubernetes clusters that they host on Harbor using Helm and Azure DevOps Server, and I'm

Azure DevOps Server: create Wiki pages programmatically

I try to generate markdown Wiki pages based on .net xml-documentation for Overview > Wiki in Azure DevOps Server 2019.0.1. To generate the .md from .xml in

How to use Bazel in Azure Pipelines?

I tried to set up an Azure Build Pipeline that uses Bazel (0.26.0) My pipeline YAML definition file looks like this: trigger: - master pool: vmImage: 'wind

API resource location a7c78d38-31a8-417e-ba6b-7e58b352f304 is not registered on

I'm trying nuget caching in Azure Pipelines. On running the pipeline, I'm facing this error. Resolving key: - nuget [string] - "Windows_NT"

Is it possible to configure Azure Windows VMs using Ansible on Azure DevOps Microsoft Hosted Ubuntu agents?

We try to configure an Azure VM using an Azure DevOps pipeline. We first create the machine using Terraform and then we need to configure it. Right now the pipe