Questions tagged [azure-pipelines]

For questions about Azure Pipelines, which is a proprietary Microsoft CI solution for deploying your applications.

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Specifying Agent Capabilities by env:PATH

I am using Azure Devops 2020u1 and my agents have tools that don't register any ENV_VARs. fortunat are either in PATH, or in specific locations... How can I define a Job that needs a file to exist (e....
user avatar
  • 101
0 votes
0 answers
8 views

How do I download GitHub Artifacts from Azure DevOps Release Pipeline?

I have a GitHub workflow that creates Artifact(s). I also have a last step within that workflow that triggers an Azure DevOps Release Pipeline. I modified an existing release pipeline to change the ...
user avatar
  • 101
0 votes
0 answers
12 views

Azure DevOps Pipeline Calling Jenkins just keeps running When Pipeline in Jenkins is completed

We are calling a Jenkins Pipeline from Azure DevOps. Our Jenkins server is behind firewall and installed on Linux VM on Azure Cloud. To Call the pipeline from Azure DevOps we placed a self hosted ...
user avatar
1 vote
0 answers
11 views

How to prevent user who does not have approval rights to click redeploy if approved task fail in release?

In a release pipeline, we have a post deployment approval in a stage 1 task which triggers the stage 2 task. In the Approval Policies, we have checked the box: "The user requesting a release or ...
user avatar
0 votes
1 answer
38 views

Azure Devops deploy docker image to ACR using deployment job

I'm trying to deploy a docker image to Azure Container Registry via an Azure Devops pipeline. Now this works fine when I run it with this script: trigger: - master variables: # Container registry ...
user avatar
  • 101
0 votes
0 answers
28 views

Trigger different environments in one pipeline

I have a dev, uat, and prod environment for my ado project, and I just completed a pipeline deploy to dev. Is it better practice to have a second pipeline that triggers on the uat branch, or is ...
user avatar
  • 13
0 votes
0 answers
4 views

How can I link a failed pipeline run to a new or existing work item?

Scenario: Developer is working on a branch. There is already an azure-pipelines.yml file that does a continuous integration check. When the stage / task / job fails, I can see the log and a little &...
user avatar
0 votes
0 answers
13 views

configure JAR_PATH in web.config while deploying spring boot app to Azure app service

I am trying to create a classic pipeline to deploy a SpringBoot app to Azure. App type is WebApp on windows. I have set the jar path to c:\home\site\wwwroot*.jar. However in the generated web.config ...
user avatar
0 votes
0 answers
22 views

Using SignTool.exe within Dockerfile

I am using signtool.exe to create a digital signature for the libraries within my .net solution. I can run the command just fine in a windows command prompt. signtool sign /f "test.cer" &...
user avatar
1 vote
1 answer
91 views

Merge trains in Azure DevOps

Is it possible to somehow implement a merge trains in Azure DevOps, similar to what GitLab does? Merge train example Three merge requests (A, B and C) are added to a merge train in order, which ...
user avatar
  • 111
0 votes
1 answer
19 views

Missing Red Hat agent specification in Agent Specification drop down in building Azure Pipeline

In Azure DevOps, I want to use an agent running Red Hat. How do I do that ? It does not list in the Agent Specification drop down: This link shows how to add a Self-Hosted Linux Redhat agent. Is this ...
user avatar
  • 101
0 votes
1 answer
161 views

Equivalent of dependsOn in azure-pipelines?

In azure-pipelines one can use dependsOn to indicate what jobs or deployments should be completed before another job will be started. At the moment, the dependsOn array of the final job has to be ...
user avatar
  • 12.6k
1 vote
0 answers
13 views

Prevent Azure from swapping VMSS release while VM is still booting up

I use Azure DevOps to release a new VM into a VMSS. When I release the update, Azure swaps the images while the PHP-FPM process is still booting up. This results in 502 Bad Gateway errors for ...
user avatar
0 votes
0 answers
20 views

Show ignored Unit Tests description

I have a build pipeline in Azure DevOps that is running my long end-to-end tests nightly. The tests are built with nunit, so I had to add the NUnit 3 Test Adapter nuget package to the tests project. I ...
user avatar
0 votes
1 answer
137 views

access secret Azure DevOps environment variables in SpecFlow tests

I have a SpecFlow test suite running some Selenium UI tests for our web app in ADO, and we need to access some sensitive information to be able to log in to various places. They are currently stored ...
user avatar
1 vote
1 answer
309 views

Deployment group not showing in Azure DevOps release pipeline

I am trying to follow these instructions: https://docs.microsoft.com/en-us/azure/devops/pipelines/apps/cd/deploy-webdeploy-iis-deploygroups I get to step 6 under "Define your CD release pipeline&...
user avatar
  • 121
0 votes
0 answers
527 views

Best practices for running UI tests using Playwright with Azure Pipelines

I'm very new when it comes to CI/CD. I know bits and pieces about testing during development. I'm here to find some guidance on connecting the dots of what I know into a functional workflow. I have a ...
user avatar
1 vote
0 answers
590 views

Azure DevOps Clean after pipeline run

I have self-hosted build agents using Azure DevOps. We have the clean flag in the checkout step, however we run out of space sometimes. What is the preferred way of cleaning the agents' work ...
user avatar
0 votes
2 answers
169 views

Azure Pipeline Ubuntu 20.04 agent not picking up jobs

I took over admin of our dev environment, found out our Azure Pipelines Build Agent is running on the computer of an employee that quit, under his name. Trying to get a pipeline running on an Unbuntu ...
user avatar
  • 101
1 vote
0 answers
32 views

Run Test Classes in yml script for Azure Devops ( Using Ant Structure )

I have been working on this issue from last many days but no success. I want to run test classes in my salesforce org & we have implemented azure devops with Ant structure / tool. Below is my ...
user avatar
1 vote
0 answers
90 views

Programmatically access output of azure pipeline runs?

Is there an SDK or cli tooling to retrieve the logging output of steps from azure pipeline runs ? I'd really like to be able to grep into the output of a given template I am changing for prior runs ...
user avatar
1 vote
2 answers
2k views

Deployment Error: getaddrinfo ENOTFOUND <appServiceName>.scm.<appServiceEnvironment>.appserviceenvironment.net

Issue We're getting the error: ##[error]Error: Error: Failed to deploy web package to App Service. Error: getaddrinfo ENOTFOUND {appServiceName}.scm.{appServiceEnvironment}.appserviceenvironment.net {...
user avatar
0 votes
0 answers
10 views

Dynamic filenames in Azure Data Factory

I have configured a data pipeline to read data from a remote source and sync it to Azure Blob Storage. I am now attempting to generate dynamic filenames based on the data within the remote data. The ...
user avatar
0 votes
0 answers
17 views

creating charts in Azure

Does Azure provide a service which we can use to create charts and visualizations? I know about Power BI. It has a desktop version which I have used to connect to an Azure Database and create charts. ...
user avatar
0 votes
0 answers
26 views

Azure pipeline powershell task with Split operator not working as expected

I'm struggling with this Azure DevOps pipeline task on a vs2017-win2016 vmImage: - pwsh: | Write-Host $(version) $split = $(version) -split "\." | % { [INT]$_ } $...
user avatar
  • 212
2 votes
0 answers
51 views

System/Integration Testing with DevOps

I would like to run system/integration tests in Azure DevOps. I have a Visual Studio "test" solution Test That includes three projects, that are normally being deployed (using Azure DevOps)...
user avatar
1 vote
0 answers
53 views

Checking the Windows SDK version for remote hosted Azure Agents

I've built a C++ application in Visual Studio 2019. Now, I want to build it in Azure using remote-hosted agents. When I tried to build it, however, it says: The Windows SDK version 10.0.14393 was not ...
user avatar
0 votes
1 answer
121 views

YAML based azure build pipeline to run particular tasks based on condition?

Need to create a YAML based azure build pipeline i.e, need to run particular tasks like only build step when it is PR automated and when the same pipeline manually run it should run build task along ...
user avatar
0 votes
0 answers
13 views

Best practice for Azure certificate management?

We had an Azure Principal Certificate expire on us, and no one knew until a pipeline became unusable. Someone offered to set a team calendar appointment to remind the DevOPS engineer (the person who ...
user avatar
1 vote
0 answers
29 views

Do any editors offer syntax checking when editing bash shell inline in yaml file?

Has anyone figured out how to perform syntax checking when you have inline bash shell code inside a pipeline yaml file ? ... I typically use the atom editor but willing to use any editor I am ...
user avatar
0 votes
0 answers
249 views

How to store result of a AWS CLI command in Classic Azure DevOps Pipeline

I have a AWS CLI task (create-upload) that when run, returns with a json result that contains an URL. This task works fine. I however need to use the URL from that create-upload task in the next task (...
user avatar
  • 101
2 votes
1 answer
178 views

Deploy an application using dll files to IIS on a VM

I hope I am posting this in the correct forum, but to me at least, it seemed that the focus was more on deployment. I am currently stuck after having successfully refactored an application by ...
user avatar
1 vote
0 answers
25 views

How to add a Git repo as an artifact to a build pipeline?

Coming off of the comments (and recommendations) from this question, I'm trying to add a repo as an artifact to a build pipeline. Apparently it's possible for a release pipeline, but I'm not finding ...
user avatar
  • 111
1 vote
1 answer
478 views

Build a app.exe file. Where to release it?

I have a specific question about Azure DevOps Pipeline CI/CD. I'm use to create CI and CD pipeline for IIS web application deployments. Sometime, I also do Click Once deployments. This time, I'm using ...
user avatar
1 vote
1 answer
40 views

Sorting out automated testing in CI pipeline and getting conflicting information related to building, unit testing and Docker images

I seem to get a unique response for every person that I ask, or every article that I read, which is just confusing me even more. Basically, I'm trying to setup automated testing in the CI pipeline ...
user avatar
  • 155
0 votes
1 answer
45 views

Build .NET Projects using Visual Studio vs Azure Pipelines

We have many developments going on in.NET and developers use Visual Studio 2019 to Develop / Build / Test applications on their local machine first and then they publish it to Azure App Service ...
user avatar
2 votes
2 answers
208 views

One or multiple git repositories for independent small parts of one larger project?

We are developing an Azure-based analytics platform that consists of several modules. Among other things, Azure functions, scripts for creating the infrastructure and scripts for initialising the ...
user avatar
1 vote
1 answer
366 views

How to get information about resources in an Azure Pipelines run?

I work in a platform team that builds and supports Azure Pipelines YAML templates and various custom scripting for these pipelines. People in my organisation use these YAML templates like: resources: ...
user avatar
2 votes
2 answers
2k views

Azure Devops Pipeline variables in Powershell

I've tried to figure this out and I can't see why my ipaddress is not getting set. I've checked code samples and they all suggest I am doing everything correct. ip variable defined here: This is my ...
user avatar
  • 141
1 vote
1 answer
189 views

Azure Release Pipeline Fails Using Expand-Archive Command

Sometime in the last week, our pipeline started using Expand-Archive to open the .zip file during the "IIS Web App Deployment" step instead of 7-Zip. It does not appear that this was done by ...
user avatar
0 votes
1 answer
593 views

Retrieving project version from csproj in Azure Pipeline .NET Core CLI task

I have the following tasks in my yaml file in Azure DevOps It publishes my console application and zip it in a file - task: DotNetCoreCLI@2 inputs: command: 'publish' publishWebProjects: ...
user avatar
  • 101
2 votes
1 answer
577 views

Azure Dev Ops delete releases not going to production

I have several release pipelines that build to a UAT environment on a continuous integration. They await deployment to Production on an approval. A new release cancels the previous Production ...
user avatar
1 vote
1 answer
331 views

How to skip Build without creating Drop and not triggering Release in Azure DevOps

Currently we have a build pipeline which checks if there is a PR for the current branch and if yes it sets a variable and skips the other build steps. But when this happens the Release still completes ...
user avatar
  • 111
1 vote
1 answer
61 views

Watch folder, when direct changes are made push to repo

So I have an azure devops repo and pipeline that copys the repo to my server when changes are pushed. However there are times when some of our developers may make a direct edit to the production ...
user avatar
1 vote
1 answer
41 views

Azure DevOps issue with GIT, Visual Studio and Azure (Umbraco)

I am completely new to Visual Studio, .net and Azure DevOps I have a problem with GIT using the GIT bits (rather than CMD), in Visual Studio I have a .Net application (Umbraco), that has been built ...
user avatar
1 vote
1 answer
781 views

Azure DevOps build pipeline error on copy in post build event

I have built a simple pipeline to build my solution triggered by commits to the master branch using the Azure DevOps Pipelines. I have a problem with the post build copy commands failing and returning ...
user avatar
  • 13
1 vote
1 answer
2k views

Azure DevOps: How to pass a parameter from a build to a release?

I have an azure devops build pipeline that builds some docker images and a release pipeline that deploys the docker images using some artifacts I publish in the build. In the build I have some ...
user avatar
0 votes
2 answers
195 views

One azure-pipeline.yaml for staging and production

Currently I have two separate Azure DevOps Pipeline config files: azure-pipelines-staging.yaml azure-pipelines-production.yaml Really the only differences in them are the: trigger: branches: ...
user avatar
  • 155
3 votes
0 answers
318 views

How can I run a script in an Azure WebApp container after deployment as part of an Azure DevOps Pipeline using the classic pipelines interface?

My knowledge of Azure is pretty limited - this is the first project where I've worked with it. We are deploying Azure webapps in docker containers via an Azure pipeline configured with the classic ...
user avatar
  • 131
1 vote
0 answers
41 views

Single Build Command / Continuous Integration

I was reading the Continuous Integration by Martin Fowler article yesterday, the article is from 2006 but I think it is still very applicable today, the statement around a single command stuck in my ...
user avatar