Questions tagged [azure-pipelines-build-task]

Questions on extending the Visual Studio Team Services Build and Release Management system through extensions and custom tasks.

Build task for Visual Studio Team Services which enables you to extend the VSTS build system with your own custom tasks.

msdn: add-build-task

1042 questions
8
votes
1 answer

XXX does not does not support provisioning profiles in azure build pipeline

I'm building an Ionic 4 application in Azure build pipeline. When I try to run pipeline that has other cordova dependencies I'm getting the errors below during the Xcode archive step. ❌ error: AppAuth does not support provisioning profiles. AppAuth…
8
votes
1 answer

How to give tasks a name in Azure DevOps Pipelines (YML)

In the pipelines.yml file, the following is used: steps: # Print buildId - script: | echo "BuildId = $(buildId)" When looking at the build log in Azure DevOps, I see just "CmdLine". Is there a way to give a step or a script a readable name…
Stef Heyenrath
  • 9,335
  • 12
  • 66
  • 121
8
votes
4 answers

Visual studio team services deploymen/buildt certificate error

I am trying to build a click-once application using the Continuous integration and deployment feature in VSTS (Visual studio team services Online)We are trying to build this using the Hosted agent Visual studio 2015 We had difficulties signing the…
Harry
  • 3,333
  • 3
  • 18
  • 28
8
votes
3 answers

How to debug VSTS extension build summary tab without deploying to VSTS service?

I need to develop a fairly complex UI for VSTS build summary tab. I'm using VS Code as the code editor. Following url describes how to debug using Edge browser, however this approach require constantly packaging and deploying extension to VSTS…
7
votes
2 answers

Azure CI pipeline for Blazor .NET 5 doesn't work

I have an existing Azure CI pipeline for a WebAssembly Blazor application, that works with .NET Core 3.1. I upgraded the application to use .NET 5 RC, and the pipeline doesn't work anymore. Following suggestions, I removed the NuGet task, and I…
Andrea
  • 555
  • 5
  • 28
7
votes
2 answers

How to know the previous step result in Azure DevOps build Pipe line?

I wanted to know if there is any way we can know the result of a previous step execution in a build pipeline in azure dev ops. To explain my query in detail: Lets say in azure Devops i have a build pipeline with as around 10 steps which performs few…
7
votes
5 answers

Azure Pipelines "Cache@2" fails with "##[error]The system cannot find the file specified"

I'm using Azure Pipelines with hosted builds to build a web project. Our build times were hitting 10-15 minutes, with most (5-10 minutes) of the time spent doing npm install. To speed this up, I'm trying to use the Cache task…
jklemmack
  • 3,518
  • 3
  • 30
  • 56
7
votes
2 answers

Append to PATH on Azure Devops?

I need to append to the PATH environment variable on an Azure Devops pipeline. I have tried running a script to do it but it does not work: - script: | echo '##vso[task.setvariable variable=PATH]${PATH}:some/path/' This fails to set the path and…
7
votes
2 answers

How to generate code coverage report for asp.net unit tests in Azure DevOps build

I need guidance in generating code coverage report of Asp.net unit tests in azure build pipeline. My project is based on .Net Framework 4.6. I am able to run all the unit tests using "visual studio test" task. I tried the "report generator" task,…
7
votes
2 answers

Reuse same build pipeline for different repository on Azure DevOps

I have a project on Azure DevOps containing multiple forks of the same main repository. I created a build pipeline for that repository which unfortunately cannot be reused for the present forks since a pipeline can only be configured for a single…
simoneL
  • 602
  • 1
  • 7
  • 23
7
votes
1 answer

How to send a detailed email to specific developer from Azure DevOps on failure of unit tests from a Build pipeline?

I'm trying to send a detailed email containing information about all failed unit tests in a pipeline and said email must be sent to the developer who wrote the unit tests. Currently, I have a Visual Studio Test task in my build pipeline which…
7
votes
2 answers

How to use newer versions of Maven for builds in Azure Pipelines for CI/CD

I need Maven version 3.5.3 or above to build my project hosted on github. The default version for maven used in Azure pipelines CI/CD is 3.3.9. I can see that there is a way to install a different version of java using Java tool installer. I don't…
Riyafa Abdul Hameed
  • 7,417
  • 6
  • 40
  • 55
7
votes
3 answers

Packaging multiple Typescript projects depending on the same common local module

I'm working on a set of VSTS extensions. Each extension is its own little Node project with its own package.json and its own node_modules folder. The folder structure is as follows: - MyExtension - package.json // containing all…
jessehouwing
  • 106,458
  • 22
  • 256
  • 341
7
votes
2 answers

Is it possible to Rename or give a custom name to a Build in VSTS?

Is it possible to Rename or give a custom name to a Build in VSTS? What I want to do is have my builds named after the version number. The version number is written in a .version file in the root directory. The intended name would be:…
7
votes
2 answers

Building on a Self-hosted VSTS-BuildAgent for VS 2017 fails with error "The TransformWebConfig task could not be loaded[...]"

We made the switch to Visual Studio 2017 and having trouble with our self-hosted build agent that gets its work from VSTS. One VSTS-build step is building all solutions with "Visual Studio Build: Build Solution ***.sln" using "Visual Studio…