Work item creation issue in TFS 2015.2 (with vsts-node-api)

I'm getting following error when creating bug item in TFS 2015.2 (on premise) via vso-node-api package, however same code is working perfectly in my VSTS (online) subscription. Error: Failed...

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. The deploy task targets the root of...

Task.Json triggers validation on invisible only fields

I am trying to create a Azure DevOps Pipelines Custom extension. I have a task.json where fields are visible on certain conditions. For example: { "name": "actions", "type": "picklist", ...

Get output from Azure DevOps Deploy to Kubernetes task

Setup description I have the following scenario: Created a Build Pipeline in Azure DevOps and after setting up my Kubernetes cluster I want to get a specific pod name using kubectl. I am doing...

Azure Pipeline Nuget Package Versioning Scheme, How to Get "1.0.$(Rev:r)"

I'm setting up an Azure Pipelines build that needs to package a C# .NET class library into a NuGet package. In this documentation, it lists a couple different ways to automatically generate SemVer...

Azure DevOps private agent - how to install node using nvm

I am trying to setup a private build agent for Azure DevOps on Ubuntu. And I need to use npm task for builds. I tried to use nvm to install the latest node, and the installation was...

Error when trying to set pipeline pool to Default agent pool using azure-pipelines.yml

I followed the documentation for setting pool via Pipelines Schema Docs and set it as such pool: Default. This should direct pipelines to use the Default pool: However, I keep getting this...

Azure DevOps Set Build number variable in a Build Task

In Azure DevOps, I created a Build. In that Build I created a ProjectBuildNumber Pipeline variable that is Settable at queue time. That variable is then used under Options -> Build number format...

How to Publish a ClickOnce application with Azure DevOps Pipeline on different environments?

I try for several days now to publish my ClickOnce application with Azure DevOps Pipeline. Before going in detail here is what I would like to do from my release view: I started with one artifact...

Setting Git Tag from Azure Devops Build Pipeline on Complete

I'm trying to set a tag with the current version number determined by GitVersion on the GIT commit at the end of a successful build. Feels like I can't be the first one to be doing this, but I'm...

"No agent found in pool Default which satisfies the specified demands:

I am getting the below message while I am doing build in my Azure DevOps pipeline. Here I am using Azure DevOps pipelines, VS2017 and Windows 2016. "No agent found in pool Default which...

What is the concept of concurrent pipelines (One parallel job in Azure Pipeline lets you run a single build or release job at any given time)?

I am reading about Concurrent pipelines in azure. Concurrent pipelines You can run concurrent pipelines (also called parallel jobs) in Azure Pipelines. One parallel job in Azure Pipeline lets you...

Always get error "deployment 'xxx' exceeded its progress deadline" when deploy my service to azure kubernetes service

I am newer to AKS, and I am setting up an CI/CD using AKS. I created an azure kubernetes service with two node pool, one is the default one (nodepool1, with linux OS), the another one is windows...

azure devops - my jobs are Queued for a very long time

Today i'm setting up azure devops to checkout how it can help us in our build/release process. It is a slow process I have to say especially because al my jobs are queued and I don't know why. I...

MsBuild Task on Azure DevOps: with different configuration for dependent projects

i have one solutions with multiple projects. DSS.DMN.Client project dependens on other projects(have references) This is how my yaml files looks like - task: [email protected] displayName: 'Build...

Modify content of .sppkg file before uploading to SPO app catalog using DevOps pipelines

I want to run a SPFx web part through DevOps build pipeline once, and have the same artifacts be deployable to any environment. Currently I have a setup where there are #{PlaceHolders}# in the...

Azure Devops macOS Pipeline fails on hosted with missing provisioning profile

I am running a Azure DevOps Pipeline which generates an .ipa file. This runs on my local agent without any issues, but when I run it on a hosted macOS 10.15 machine, i'll get an error, that the...

azure pipelines for static website hosted on azure storage blob

I have a static website stored on an azure storage blob with a web container. I also create two pipelines one for build and one for release and there are triggered for any git push. However, even...

App Center Distribute IOS app using Azure Pipelines: Resource not found

i'm currently working on Azure Pipelines to Distribute the app using App Center. build and create certificate.p12 and provsion profile working fine, but in App Center Distribute task i...

Run NUnit tests in Azure DevOps pipeline

Is it possible? (It seems not. Does it not support NUnit? What should I use instead?) Here is my test project. <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> ...

MSB4044: The "KillProcess" task was not given a value for the required parameter "ImagePath"

Long story short, I was able to build a bitbucket .NET/MVC/Angular project successfully on windows 2019 azure hosted agent, but I am unable to make it build successfully on ubuntu agent. The...

How to resolve target-issues in Azure Devops Pipeline when creating Self-contained deployments

Because Azure AppServices doesn't (anymore) support .NET Core 2.1 on x64 with framework-dependent deployments, we are currently publishing self-contained win-x64 versions of our .NET Core 2.1 Web...

Azure Devops Pipeline returning: 'Failed to deploy web package to App Service. Internal Server Error (CODE: 500)'

I am trying to use Azure DevOps pipelines to build a .NET 5 (Core) web app and deploy it to my Azure app service. I can't find any complete examples in the documentation that achieve this so I'm...

Work around for Docker layer caching not working in Azure Pipeline

I'm hoping to cache a specific stage in my multi-stage Dockerfile that my test stages use in an effort speed the build process up. Otherwise, it builds for unit testing and then for integration...

How do I update my Azure DevOps on-premise Pipeline tasks to include MSBuild v17 and Visual Studio 2022?

How do I update my on-premise, Azure Devops Pipeline tasks to include the new MSBuild v17 and Visual Studio 2022 build tasks? I found the updated MSBuild task...

Visual Studio 2022 not listed in devops build solution pipeline task

I have an on-prem instance of Azure DevOps 2020.1.1 in the build pipeline I have a build solution task which has visual studio version set to "latest" when building a .NET6 project this fails...

Azure DevOps Build pipeline `npm install` failing on node-gyp

We have a CD/CI Azure Devops build pipeline that has started failing for nodejs/node-gyp. error gyp info using [email protected] error gyp info using [email protected] | win32 | x64 Nothing about our...

Trigger issue on Azure DevOps: Some recent issues detected related to pipeline trigger

Recently I updated my Azure DevOps CI pipeline from the classic previous system to the new yaml file. It seems I have some issue to properly setup the trigger. Let me show you the error message...

"sgen.exe" could not be run in VSBuild on Azure Pipelines

Running the build locally is good, no problems whatsoever.. When I did run this on an Azure Pipeline it errors out. The detailed error message is The command-line for the "SGen" task is too long....

Azure App Service Deploy pipeline task error: Resource doesn't exist/UnhandledPromiseRejectionWarning when resource exists

Getting the following error while running an Azure DevOps pipeline that uses the Azure App Service Deploy task when the resource clearly exists. This is happening in an existing pipeline that...