Questions tagged [azure-pipelines-tasks]

216 questions
0
votes
1 answer

Is it possible to use containers to build .NET WPF application in Azure pipelines?

Ours is a .NET WPF application that requires tools like MSBuild and some other custom tools to build (Total is around 10 tools that need to be installed on top of Windows OS). We use Azure Pipelines with VMs as build agents. The problem is that…
0
votes
1 answer

Azure Pipelines - export variable from Python script task to use in Powershell script task

I have a variable defined in my Python script task in Azure pipelines. variable = "True" I want to use this variable in the next task which is a Powershell script task. How can I achieve this using Azure YAML pipelines? Thanks!
0
votes
1 answer

How to set the vCore max limit with Restore-AzSqlDatabase?

I'm having trouble using the -vCore param for the Restore-AzSqlDatabase function. I have the below query, which works fine and duplicates the compute gen and vCore settings of the sourceDB. Restore-AzSqlDatabase -FromPointInTimeBackup -PointInTime…
0
votes
0 answers

Inconsistent output in YAML pipeline vs default Azure Pipeline

I'm trying to run a "dotnet tool install" to install cli tool on the build agent in my pipeline and the behavior is inconsistent. Sometimes it executes the command successfully but it also fails sometimes with below error and I cannot figure out why…
0
votes
1 answer

Azure DevOps deploy overwrites not always cshtml files

Sometimes it happens that when we do a deploy, the last committed files with extension cshtml, are not updated. We have not seen other type files being not updated. It could be that a file is in use and can't be overwrited. Is it possible to add an…
0
votes
1 answer

Create xml with artifact files

I have a hard time getting any information on how to do this. I want to include a task in my build pipeline that creates an XML file that lists each file of the resulting artifact along with some metadata like checksum, size, etc. Something like…
Tralli
  • 398
  • 1
  • 2
  • 12
0
votes
1 answer

Azure Artifacts - Downloading Maven package content throws azure UnhandledPromiserejectionWarning

One of our development teams have recently migrated their Maven project files from another version control system to Azure DevOps. However, a major caveat is that these Maven projects were created with no POM files (I have no idea why). The project…
0
votes
1 answer

Azure pipelines failing stating Incorrect task refrence

My Azure pipeline is as below: trigger: - master pool: vmImage: 'ubuntu-latest' steps: - task: terraform init displayName: 'terraform init' inputs: provider: aws backendServiceAWS: 'tcp-aws-aa' backendAWSBucketName:…
learner
  • 2,480
  • 10
  • 50
  • 94
0
votes
2 answers

Nuget Pack Failure - The process cannot access the file 'D:\a\1\a\*.nupkg'

Error on Azure Pipeline for NuGet Pack task, using a SDK format .csproj, which autogenerates the .nuspec file: The process cannot access the file 'D:\a\1\a\*.nupkg' because it is being used by another process. System.IO.IOException: The process…
0
votes
1 answer

Exclude files while packaging an extension

I am trying to create an Azure DevOps extension. As part of this, when I tried to use a npm package azure-pipelines-tasks-azure-arm-rest-v2, it is failing when package extension is done using tfx create extension command showing the following…
0
votes
2 answers

How to pass dynamic (user info) parameters as variable to azure pipelines?

i have CI/CD environment in azure devops.i specially want to get the user name who pushed his code to trigger pipeline.i want to use this info as a variable inside the pipeline.do you guys know how can i do that ?
0
votes
1 answer

list all tasks of azure YAML based pipelines usng GET API

To list all the azure build pipelines in a particular project we're using below API. 'GET https://dev.azure.com/{organization}/{project}/_apis/pipelines?api-version=6.0-preview.1' however above URL giving details of each task and its status for…
0
votes
1 answer

How to validate System.Accesstoken in an external API when it's used in the header for Auth?

If we have an API that accepts a PAT for auth and if we pass System.AccessToken in the header (Authorization) from an AzureDevOps release task when calling this API, what's the suggested way to validate this token on the API side?
MAK
  • 307
  • 2
  • 12
0
votes
1 answer

i am facing below issue in git based wiki updater task

I created Authentication token as well all permission for user which running pipeline is defined
0
votes
1 answer

Azure build Agent

Situation: During the build process of an azure pipeline i use the JavaToolInstaller on a self hosted agent and it places "java/JAVA_HOME_8_x64_" in the directory Background: I dont believe this to be a permission issue when i have applied full…