azure-pipelines-tasks Questions

4

Solved

I thought that a call to ##vso[task.complete result=Failed;] should make the script step where it is called fail immediately but I have now seen one case in my pipeline where this is not the case. ...
Piggery asked 4/11, 2021 at 7:1

4

Solved

I'm hoping to cache a specific stage in my multi-stage Dockerfile that my test stages use in an effort speed the build process up. Otherwise, it builds for unit testing and then for integration tes...

2

Solved

Using Azure DevOps YAML in a database project build and release pipeline This bit of code correctly picks up my four dacpac files, I can see these being copied in the console - task: CopyFiles@2 ...
Cyanamide asked 27/1, 2022 at 7:28

1

Solved

When trying to update a custom task's version I get this error: Task definition visible rule 'serviceType = A || serviceType = B || ((serviceType = C || serviceType = D) && deploymentMode ...
Appalling asked 12/11, 2023 at 9:37

5

I have an on-prem instance of Azure DevOps 2020.1.1 in the build pipeline I have a build solution task which has visual studio version set to "latest" when building a .NET6 project this f...

2

Solved

I want to see the values that is path of predefined variable like for $(System.DefaultWorkingDirectory) i want to see value stored in it. I am unable to find this variable value so where can i find...

1

Solved

I’ve a failed job with the following errors when merging a pull request with DEV branch. zip warning: could not open for reading: .git/gc.pid zip warning: could not open for reading: .git/gc.log.lo...

2

Solved

I have been experimenting with Azure Logic Apps and wanted to figure out a way to codify the deployment process so that I could setup a CI/CD pipeline with secrets and all the good stuff. So I set ...

2

I'm trying to upload blobs using "az storage blob upload-batch". I got below two exceptions. ##[error]Azure CLI 2.x is not installed on this machine. ##[error]Script failed with error: E...

1

I want to loop through the pipeline artifacts and pass them as variables to a task. Followed this answer here, but no luck: https://mcmap.net/q/507373/-how-to-use-output-of-a-powershell-command-as-...

2

Solved

I have the following pipeline structure: Job A --> Generate build files Parallel: Job B --> Uses the build files Job C --> Uses the build files Job D --> Publishes the build files Job...

2

Solved

So I'm working on a bunch of pipelines and I've set everything up using yml templates. However I struggle with getting protected variable expanded inside of my template steps. I've tried passing in...

2

Hi I am trying to implement the rollback for Kubernetes deployments using this guide, https://adrianbumbas.com/rollback-kubernetes-deployments-with-azure-devops-pipelines/. However, when adding a n...

0

I have 2 pipelines that call code from the same repository. 1 pipeline calls console applications and the other pipeline calls automation tests. Both tasks require the same env to be set. Right now...

1

Solved

My YAML-based Azure DevOps pipeline contains several tasks in which continueOnError: true. I did this deliberately so that I can run all test suites even when some of them fail (each task runs a di...

2

Solved

I am deploying a python web app using Web App on Linux service and using a DevOps release pipeline. The pipeline task that I am using is called AzureRmWebAppDeployment@4. Between deployments, the ...

2

Solved

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 studi...

1

I am attempting to do file transforms on my Web.config depending on each environment I publish to. Mostly, everything looks fine until I deploy to my UAT stage on the release pipeline. In my build ...

2

I have a matrix in a multi-stage pipeline that generates jobs to go and checkout to different git repositories and make commits. The matrix has the repo name as a value, and I want to reference tha...
1

© 2022 - 2024 — McMap. All rights reserved.