Questions tagged [azure-devops-pipelines]

269 questions
0
votes
0 answers

AzSK scan asking for user choice in pipeline

I am facing below issue in AzSK_SVTs release pipeline: Framework\Abstracts\CommandBase.ps1:250 char:22 $userChoice = Read-Host "Continue (Y/N)" ~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [Read-Host],…
0
votes
1 answer

Maven POM file Error in Managing Open-source security and license with WhiteSource Bolt Lab On Azure Devops

I got the below-mentioned error in Maven Tasks in the Build Pipeline. Can’t understand this issue. I think the source code needs to update. Do I have to update my POM File for this Project? I'm not a developer. I'm learning Azure DevOps and…
0
votes
1 answer

Assign testers to test and define build in rest api

We are developing a robotics product that requires quite a few manual tests in every release cycle and we want to automate the management of these tests. We envision a process with these steps: One or more test plans are assigned to one or more…
0
votes
0 answers

Executing onetime scripts from Azure DevOps Pipelines

I'm looking for some advice on how others might have managed the handling and execution of one-time scripts which need to be executed either pre-deployment or post-deployment. We are looking at building a solution but I was wondering if there are…
0
votes
1 answer

The NuGet Restore task is getting failed in azure devops build pipeline

We are configuring a build pipeline for BizTalk. When we run the pipeline the use NuGet task is getting successful and the next task i.e. NuGet restore is failing giving the below error: ##[error]The nuget command failed with exit code(1) and…
0
votes
2 answers

Limit Access for Project Collection Build Service ({OrgName}) in Azure DevOps

I am an administrator of an Azure DevOps Organization and have the following projects: InnerSource Foo Bar I'd like the YAML pipelines of Foo and Bar to have read access to the private Git repositories in InnerSource. This I got working by…
Schwarzzz
  • 71
  • 5
0
votes
2 answers

How can I prompt for variables when launching Azure DevOps pipelines?

I'm trying to get Azure DevOps pipelines to prompt for a version number when manually launching a pipeline (defined using the new YAML syntax). Even when I define variables in the template, the launch screen says "This pipeline has no defined…
Sampo
  • 4,308
  • 6
  • 35
  • 51
0
votes
1 answer

Azure DevOps REST API - Not able to trigger pipeline via rest

Trying to test Rest API to trigger via postman for Azure-Devops, getting below error. tried this for bash and getting similar error. Any help or suggestion would be appreciated Azure Devops trigger Pipeline via rest getting issue while triggering…
0
votes
1 answer

Azure Devops trigger Pipeline via rest getting issue while triggering newly created pipeline

The below script is to trigger pipeline in Azure devops via REST, Its working fine on an existing pipeline, but when trying on newly created pipeline which has never ran then its throwing below error. Any help or suggestion would be really…
0
votes
1 answer

In Azure DevOps Server 2020 is it possible to prevent the Checkout task from having a different name each time?

Please observe the following snapshot from the Build Analytics: It shows essentially the same task - Checkout, but because the branch name is part of the task name we see it as different entries. It is a problem if we want to analyze the…
mark
  • 59,016
  • 79
  • 296
  • 580
0
votes
1 answer

Yaml trigger doesn't work but overridding in pipeline does

I have the following code in my YAML file trigger: branches: include: - main paths: include: - WVD/* When I complete a pull request and the code gets committed back to main it should run if its in the WVD directory. (WVD dir is…
0
votes
1 answer

DevOps Pipeline build .Net Core Test Category

We have lots of tests in our projects which we have categorized as: [Test] [Category("UnitTest")] public void DoSomething() { I can't figure out how to get the category to run on DevOps. In VS Test this was straight forward but we have to use a…
0
votes
1 answer

How to switch to a different user on same agent to run a particular task in AzureDevOps pipeline

I have a pipeline with 6 tasks in one job, this job runs on agent01(self-hosted), there are two users, user1 and user2(more privileges) on agent01. My requirement is, my pipeline job running on agent01 must use user1 for task 1,2,3 and use2 for …
0
votes
1 answer

Cannot create release from build - DEVOPS

Since a few days, I cannot create a release from a complished build in devops... there was an option to create a release from a specific build, on the three points button on the top-rigth corner of the screen. But this option has gone!! As shown in…
0
votes
1 answer

Azure Pipeline - Passing Variables between tasks

All, I have the below Azure DevOps pipeline setup that copy keyvault secrets from one KV to another. As you can see, I have two tasks: 1) one to read the secrets and 2) one to write the secrets. I am having difficulties figuring out how to pass…