Questions tagged [azure-devops-pipelines]

269 questions
0
votes
1 answer

Azure DevOps pipelines Windows VM Agents with Docker

Do Azure DevOps Release Pipelines support Agent Pools using Windows OS based images, which do have Docker preinstalled? Or is it possible to install Docker on Windows VM agents? According to official docs, installing Docker requires VM reboot, so I…
luka032
  • 925
  • 4
  • 12
  • 34
0
votes
1 answer

Pipeline fails when running Packer fix

I'm trying to run Packer (1.7) in an Azure DevOps pipeline. The pkr.hcl files passes validation on my PC running Packer 1.7.3. The pipeline runs Packer 1.7.2. The YAML task in the pipeline reads like this: - task: PackerBuild@1 inputs: …
0
votes
1 answer

Authentication Error when Building and Pushing docker image to ACR using Azure DevOps Pipelines and docker-compose

I am trying to build and push a docker image to ACR using Azure DevOps pipelines. I have to build it with a docker-compose.yml file to be able to use openvpn in the container. When I run the pipeline I get the following error. Does anyone have an…
0
votes
1 answer

Azure Pipelines maintaining multiple countries / environments

We are planning to implement CI/CD for our project. In summary, our setup is the following: Code Repository (contains solution and project files) Config Repository (contains .config files for different countries) Aside from having multiple…
Water
  • 1,114
  • 1
  • 15
  • 31
0
votes
1 answer

How to access pipeline identifier in azure devops resource triggered pipeline inside a template

I have Azure DevOps yaml deployment pipelines that trigger when a build pipeline completes and publishes an artifact. According to docs found here, artifacts will be downloaded to to $(PIPELINE.WORKSPACE)/pipeline-identifier/artifact-identifier…
cResults
  • 733
  • 1
  • 5
  • 17
0
votes
1 answer

Azure DevOps Release Pipelines have stopped not being able to download Artifacts

Our release pipelines stopped working as of this morning can no longer download Artifacts that were produced by the related build pipeline. 2021-06-21T05:42:23.2924212Z ##[section]Starting: Download artifact - _Dev 2021-06-21T05:42:24.1919023Z…
0
votes
0 answers

Use of object parameter type in Azure Devops template

I have a pipeline template in Azure DevOps which are used by many other pipelines. What I wanted to do is: based on a parameter pass by other pipelines, my template has to decide which k8s cluster the application deploy to. From my below example, I…
0
votes
1 answer

How test Azure database components virtually without publishing a database in Azure

I have a Microsoft Azure SQL Database project. I also have a Python3.9 project that uses unittest to unit test this database project. I have an Azure DevOps build pipeline defined in YAML that runs the unit test against the development-integration…
0
votes
3 answers

Trigger an Azure Devops pipeline from an azure function using python

I have an existing Devops pipeline that trains ML models. To guaranty the robustness for the models, it will be necessary to retrain it periodically. For this I decided to create an Azure function that will be executed each month. will It collect…
0
votes
1 answer

Azure DevOps Pipeline build trigger with path filter not working for folder name with whitespace

I'm setting up build trigger when commit is made to a specific folder. However the folder name has whitespace and that is not being accepted. Assume below to be my folder structure, I want to trigger build if any changes to files in "test folder" …
0
votes
1 answer

Trying to get Azure Devops pipeline to run the app dll

I have azure devops publishing a dotnet core web app to an AWS server, but the app serilog logs are not kicking in because even though the DLLS etc are updated the myapp.dll is not re-started, so the logging setup code in program.cs is not…
LukePerrin
  • 235
  • 5
  • 17
0
votes
1 answer

How to create conditional build properties in DevOps build pipeline

I have the following build pipeline task: - task: NuGetCommand@2 displayName: 'Pack CodingStyles.nuspec' inputs: command: 'pack' packagesToPack: 'src\CodingStyles\CodingStyles.nuspec' packDestination:…
0
votes
0 answers

Azure DevOps - Passing Variables in release tasks

Basically I want two tasks, I want the second task (Task B) to look at the status of first task (Task A). All the examples I see use yaml, within the Release section of setting up deployments, they all use a user interface. If I use Agent.JobStatus…
Greg P
  • 772
  • 2
  • 10
  • 23
0
votes
2 answers

How to add HTML reports present in agent filesystem as an attachment to release pipeline logs in Azure DevOps?

A scan task of release pipeline in Azure DevOps generates the report and saves it to the local file system of agent. Is there any approach using which we can obtain the result report from the agent machine and access it directly from log…
0
votes
1 answer

Azure DevOps Passing Variables

we are trying to create a DevOps pipeline where we generate a string in the first stage and we would like to store into a variable which can be used in subsequent stages, or in subsequent tasks within the same stage, is there a way to do this? For…