azure-pipelines-build-task Questions

7

Solved

I'm trying to merge the develop branch to the master branch when building with Azure Pipelines PowerShell task. But while executing the command git push, I'm getting this error: Fatal: Could n...

2

I have the following in my NetStandard Project <ItemGroup> <PackageReference Include="MyReference" Version="1.0.*" /> </ItemGroup> When I change it to use the wildcard (instead...

5

Solved

I am using Azure Resource Group Deployment task in Azure Devops. Some of the Override template parameters include the SubscriptionID. -virtualNetworkId /subscriptions/53614803-d327-4397-bf55-8dedc...
Essen asked 18/5, 2019 at 3:5

8

My ARM template resource group deployment fails in VSTS. I get an error without any specific reference to parameter that has an issue: "One of the deployment parameters has an empty key. Please s...

4

I am encountering the error during the Build phase of an Azure Pipeline on the Azure DeveOps site. Specifically, the packages it is complaining about are: 2018-09-30T20:35:07.6022998Z ============...

4

Solved

I'm running a task in VSTS which performs some operations on a variable from a previous step and I then need to output the result to be used in future tasks. I have the following in a command line ...

3

Solved

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]$...

2

I am looking to get the contents of a file I pushed as an artifact to Azure DevOps I was able to get a json response with a URL to the artifact zip by using this API https://dev.azure.com/uifabri...

4

Solved

In the build pipeline I have a job with a powershell script setting the applicatiuon name based on a variable like this: $applicationName = If ('$(configuration)' -eq 'Release') { 'Appname' } Else ...

6

Solved

I have some test automation code that reads some values from an environment variable stored on my local machine, like this: Environment.GetEnvironmentVariable("SAUCE_USERNAME", EnvironmentVariable...

4

I am trying to deploy my node.js code to Azure Function App using Azure DevOps. I have created the following Azure DevOps pipeline using YAML. The problem I am facing is that on the deploy step, m...
Headstream asked 15/4, 2019 at 17:35

4

Solved

I'm trying to push some changes done during Azure pipeline using cmd component as follows, steps: - script: | git config user.email [email protected] git config user.name "your name&quo...
Glossology asked 11/6, 2019 at 10:14

4

Solved

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 ...
Liberalism asked 21/4, 2017 at 16:2

3

Solved

I have a Microsoft Visual Studio Team Foundation Server (Version 15.117.26714.0) with predefined variable $(ProjectBuildNumber). Is there any way to increment, during build process, value of varia...

3

Solved

I created main project https://dev.azure.com/GilbertHsu/pipeline_test with 3 projects as submodules in the main project https://dev.azure.com/GilbertHsu/otherProjectA https://dev.azure.com/GilbertH...

3

I'm not using yaml, because my company uses TFVC, so I need the classic way. With $[pipeline.startTime] I get the starttime, but now I need it formated in this way: dd.MM.yyyy A powershellscript li...

3

Solved

On one of my projects I have enabled ImplicitUsings (C# 10) feature. The project is an Sdk project multi-targeting .NET 4.8 Framework and .NET 6. As of yesterday my builds started failing on Azure ...

2

Solved

I have an Azure Pipelines definition with two consecutive tasks Run build Manual approval step for QA work (depends on build) In azure-pipelines.yml: jobs: - job: Build ... - job: QualityAssu...
Nealneala asked 26/9, 2018 at 12:9

1

Solved

I had created a virtual machine scaleset agent pool. After testing I have deleted the agent pool and the virtual machine scaleset. Again I have created a new virtual machine scale set with the same...

3

Solved

I've defined a variable in my TFS/AzureDevops Build definition (say it's time) and assign the value using PowerShell task within my build definition. Like, Type: Inline Script. Inline script: $...

3

I have a task group which contains besides other tasks the Azure Key Vault task and the Azure Resource Group Deployment task. In the latter I want to override some parameters in the ARM template wi...
Jinx asked 19/12, 2017 at 12:14

5

Solved

Running the .NET Core Pack task, how do I get the outputted NuGet package version to auto-increment itself? So, for example, if my current version is 1.0.0, then the next time I call the Pack tas...

3

Solved

I might be missing something, but can't find a way to export tests run results from the project's build pipeline execution page in Azure DevOps. There is a "Download logs" option, of cause, wher...

5

I have just upgraded to SonarQube 6.4 and at the same time moved to mysql. Whenever I try to parse a particular solution I get the message: can't be indexed twice. Please check that inclusion/excl...
Deathful asked 11/8, 2017 at 15:12

4

Solved

I am trying to use 2 repositories on the same pipeline. One repository contains source code and the other has templates. The azure-pipeline.yml of repository source code looks like this: pool: alm...

© 2022 - 2024 — McMap. All rights reserved.