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
3
votes
1 answer

Deploying Multiple WebJobs from the Same Project in a Azure DevOps Release Definition?

So the way that we've structured our code is that we've got several projects in our solution that each have multiple webjobs. We've configured a manual way of releasing these multiple webjobs using the run.cmd files and copying over the pertinent…
3
votes
2 answers

Azure pipeline error for Docker "Client version 1.18 is too old. Minimum supported API version is 1.24"

I'm running a build pipeline on azure with following mvn docker profile. io.fabric8 docker-maven-plugin
Channa
  • 3,267
  • 7
  • 41
  • 67
3
votes
0 answers

YML Pipeline - Set variable based on expression?

Within my YML file I am using a patch variable with a counter to have separate patch numbers based on pull request build and not-PR patch: $[counter(format('{0}-{1}', ne(variables['Build.Reason'], 'PullRequest'), variables['minor']), 0)] # True for…
3
votes
1 answer

auto increment release version number per project

Please help me to get auto incremented revision number for the pipeline build task in Azure. Let's say there is major.minor.patch.revision number. major.minor.patch is set in the version file that is stored in the source control. This allows to…
oleksa
  • 3,688
  • 1
  • 29
  • 54
3
votes
0 answers

Azure Download Cost data pipeline failing with no error? for Azure DevOps Cost Insights dashboard

I'm using Azure DevOps and I have got this Azure Cost Insights package from the marketplace to have a graph on my Azure DevOps dashboard. In order for it to work, I need to make a build pipeline to get the cost data from Azure. I've made an empty…
3
votes
1 answer

Pass a Built Docker Image from VSTS Build Pipeline to VSTS Release Pipeline

Pass Built Docker Image from Build Pipeline to Release Pipeline I'm currently successfully building a Docker image in a VSTS Build Pipeline. I would like to take this built image and then Publish it as a Build Artifact so that a VSTS Release…
3
votes
2 answers

Authentication to access other parts of Azure DevOps within a custom task

I want to create a Azure DevOps custom task that accesses other parts of Azure DevOps. Specifically, I want to create a custom task that adds a comment to a PR. Unfortunately, I can't figure out how to authenticate properly. I found this code and…
3
votes
1 answer

Azure DevOps: How to avoid a build on new branch creation

In our Azure DevOps Build pipeline, I set "Enable continuous integration" to true, and set a filter to include only feature branches. This is working fine as expected - a build kicks off every time a user pushes changes from the local to remote…
Greg
  • 3,861
  • 3
  • 23
  • 58
3
votes
2 answers

Variable substitution in build pipeline

There are tons of resources online on how to replace JSON configuration files in a release pipeline like this one. I configured this. It works. However, we have multiple integration tests which reach the database too. These tests are run during…
3
votes
1 answer

Localization of custom Azure Pipelines build tasks

I am working on creating a custom task for Azure Pipelines and would like to know more and support localization. Please help out if localization of Azure Pipelines custom build tasks is supported by providing additional JSON files for each locale.
3
votes
1 answer

git clone hangs within Azure DevOps build task

For some reason performing a git clone command within a Azure DevOps build pipeline always hangs. This includes git submodule update --init --recursive because I think in the background it simply calls git clone on the submodule's repo URL. The…
capdragon
  • 14,565
  • 24
  • 107
  • 153
3
votes
1 answer

what's the path of msbuild in vsts

asp.net web form project needs to be migrated to vsts. The project uses python script to build and publish. In the code it calls the msbuild.exe. However, I am confused how to refer msbuild location in vsts repalcing previous location in python…
sunny
  • 95
  • 1
  • 8
3
votes
2 answers

Azure DevOps - Custom Build Task Visibility

I'm learning Azure DevOps. I'm interested in creating a custom build task. My question is, is it possible to create a private, custom build task? In other words, I only want my build task to be visible within my organization. Is it possible to set…
user687554
  • 10,663
  • 25
  • 77
  • 138
3
votes
1 answer

VSTS CI/CD Pipeline NetStandard Subdirectory

I am completely new to VSTS CI Pipeline, and when I say completely new, I'm talking about 4 hours in. I'm trying to setup an automated build on one of my subdirectories in my projects directory,and upon successful build, create nuget packages and…
3
votes
1 answer

Automatically trigger builds ONLY for PR branches in VSTS

I am trying to do the following: A developer (e.g.: James) could be working on this private branch (e.g.: james/add-custom-logger) for a while before sending out a PR. Once James sends out a PR, I would like to automatically trigger a build for…
Kiran
  • 56,921
  • 15
  • 176
  • 161