Questions tagged [azure-devops-pipelines]

269 questions
3
votes
2 answers

Azure Pipelines parameter value from variable template

We would like to deploy components of our application to developer's local machines and want it to be easy enough for our co-workers to use and easy enough for us to maintain. These are virtual machines with a certain naming convention, for…
3
votes
1 answer

Azure DevOps - send email notification after test results have been published

We have a nightly scheduled pipeline that runs tests and publishes the results to a test run. We can see the the url to the test run as this is generated by the PublishTestResults@2 task. I'd like to extend this functionality by emailing a set of…
dubs
  • 6,511
  • 4
  • 19
  • 35
3
votes
1 answer

How can I add Git Hook commit-msg on PR Completion in Azure DevOps?

I have a repository with a protected master branch and squash commit only enabled. I'd like to enforce validation of the commit message on completion of the PR. This is to check the engineer has placed the correct content in the PR description. I…
MrPanucci
  • 497
  • 2
  • 11
3
votes
3 answers

Error in release pipeline : Container path not found

I searched in several forums and everyone suggested to add below line in the yaml. - task: PublishBuildArtifacts@1 In my case, i am using the classic editor as it is my first time learning Devops. The publish artifact task was already added but I…
G_S
  • 85
  • 1
  • 11
3
votes
1 answer

Azure DevOps Pipeline ##[warning]Directory 'D:\a\1\a' is empty. Nothing will be added to build artifact 'drop'

I am attempting to build my project into a zip, and have it move to a drop folder. The build succeeds and all the steps are fine, until the pipeline gets to the "Publish artifact" step. My .yml file is this: vmImage: 'windows-latest' variables: …
Arik
  • 83
  • 1
  • 10
3
votes
1 answer

Azure DevOps locally cached container job

I'm trying to run a container job running inside a locally built and cached Docker image (from a Dockerfile) instead of pulling the image from registry. Based on my tests so far, the agent only tries to pull the image from a registry and doesn't…
3
votes
2 answers

Update database using Entity Framework from .NET Framework in Azure DevOps pipeline

After the update of Entity Framework to version 6.4.4 the migrate.exe was replaced with ef6.exe. This made a breaking change in my release pipeline in Azure DevOps. I've tried to update the migration command from originaly…
Andree
  • 1,159
  • 2
  • 17
  • 32
2
votes
1 answer

How to filter out the unwanted information / checks from Lighthouse Azure DevOps report produced for a Sitecore site hosted in Azure PaaS?

I am working on the quality improvements of my Sitecore website deployed into Azure PaaS and use Lighthouse as Azure DevOps extension for Azure Pipelines to run a Lighthouse report from time to time to check scores. This is how a standard Lighhouse…
2
votes
2 answers

Azure Devops Passing build id as parameter to YAML deployment pipeline

I want to create a parameter in YAML deploy pipeline to let user mention the build id they want to pass for deployment while running manually. How can I use that specific build id passed as parameter during deployment inside deployment…
2
votes
0 answers

Container Instance with openVPN does not run correctly

I am trying to run a Azure Container Instance with openVPN inside to connect to an external site. I have now managed to make a setup where I use docker-compose to handle the setup. The container works when I run it locally (with openvpn establishing…
2
votes
3 answers

Nice way to display Terraform Plan output in Jenkins

I am working on a requirement where I need to show terraform plan output in a nicer way so that user can understand what resources it is going to create etc. Currently we are printing terraform plan output in jenkins console in json format but we…
2
votes
0 answers

Azure DevOps Pipeline Flutter Install task error

i'm trying to create a build pipeline for my flutter app using azure devops. I use the azure extension for flutter from visual studio market. The flutter install task fail with error ##[error]Error: The process '/usr/bin/unzip' failed with exit…
2
votes
2 answers

Incoming webhook trigger for Azure Devops pipeline : "Cannot find webhook for the given webHookId"

I try to setup a incoming webhook in a project to trigger a yaml pipeline. Setup service connection with incoming webhook. Added yaml snippet to pipeline like this: resources: webhooks: - webhook: testtrigger ### Webhook alias …
2
votes
2 answers

New Issue with PowerShell Task in Azure Pipeline

I am encountering a new issue with the PowerShell Task in an Azure DevOps pipeline. This task last ran without issues on 4/27 and the current issue occurred on the next build 5/5. During this time no changes were made to the pipeline. The issue…
2
votes
1 answer

Azure DevOps Pipeline Dynamically List Members of Variable Group

I'm trying to have a YAML pipeline build out a JSON file to be used as a Cypress.env.json. Some of the values need to come from a variable group (ultimately tied to an Azure Key Vault). I want it to be build dynamically so if a secret is added to…
BigPigVT
  • 1,381
  • 3
  • 12
  • 20
1 2
3
17 18