Questions tagged [azure-pipelines-release-pipeline]

Visual Studio Team Services and Team Foundation Server Release Management.

1942 questions
8
votes
2 answers

Azure DevOps - AzureBlob File Copy task fails while copying files to blob storage

I am creating a release pipeline on Azure DevOps for deploying ReactJs App. I have two tasks in my release pipeline: Download Build Artifact task and AzureBlob File Copy task. The AzureBlob File Copy task throws the following error: Upload to…
8
votes
4 answers

Is there a way to parametrize/dynamically set variable group names in Azure DevOps Pipelines YAML?

I have a nested Azure DevOps YAML pipeline: --- name: Some Release Pipeline trigger: none variables: - group: "DEV VARIABLE GROUP" # This is the environment variable library stages: - stage: Stage1 displayName: "Stage 1" dependsOn:…
8
votes
1 answer

Deploying docker image to web app on Linux via Azure Devops fails

I am trying to deploy my docker image to a web app for containers (Linux) via the release pipeline in Azure Devops. I am using the task Azure Web App for Containers to accomplish this. Building and pushing the image to my private container registry…
8
votes
1 answer

Error: More than one package matched with specified pattern Azure Function Release Pipeline in Azure DevOps

I have successfully configured build pipeline configuration for my Azure Function in Azure DevOps. Now I am configuring a release pipeline with Azure App Service Deploy task and I am always getting an error as "Error: More than one package matched…
8
votes
5 answers

Cannot acces keyvault secrets through service endpoint in a VSTS release

We're trying to download secrets with the download key vault secrets release task in VSTS. The service principal is add in the key vault's access policies, all rights are checked, including get, list secrets. I created a service endpoint with this…
8
votes
3 answers

VSTS : Can I access the Build variables from Release definition?

In VSTS CI/CD , I am setting some variable's value in a Powershell task in CI. During CD I want to access that variable's value to do something , lets say echo. Is this possible? If so, how?
8
votes
2 answers

How do you deploy an Azure WebJob and App to the same App Service via VSTS?

I have a Visual Studio 2017 solution with both an ASP.NET Web Application project (called UI) and an Azure WebJob project (called WebJobs). I have configured both to deploy to Azure from within Visual Studio (right click, publish) to the same App…
8
votes
4 answers

Exclude/Skip files in VSTS Build and release

We are in process of creating architecture for VSTS CI/CD to deploy our web app to our Azure App Services. We want to exclude the web.config while deploying it to the Azure server as we are directly modifying the web.config on the different…
8
votes
2 answers

Error:C:\Program Files\IIS\Microsoft Web Deploy V3\msdeploy.exe failed with return code: 4294967295

I have setup the VSTS release definition with Dev and Test environments, those environments successfully deployed without any issue from last 2 months but suddenly today I faced some issue in Test environment even Dev environment succeeded. The…
8
votes
2 answers

VSTS JSON Variable Substitution with Default Release Variables

TL; DR Is there any way that I can use JSON variable substitution with default Release variables in VSTS? Description With VSTS, I can use JSON variable substitution to set values in an appsettings.json file at release time. For example, with an…
8
votes
1 answer

VSTS build with multiple repos

My team uses VSTS for CI/CD of a web project. In order to keep our code separated, we use two separate repositories for front-end and back-end. Two questions are raised by this: How do I set up a build that merges the build artifacts from the two…
dalgard
  • 3,614
  • 2
  • 22
  • 28
7
votes
0 answers

Only releases with status draft may be created on draft app. How do I tell Azure DevOps to mark a release as "draft"?

I have developed a skeleton Android App in Android Studio the Build pipeline in Azure DevOps An Internal Testing track for this app on my Google Dev Console Uploaded MANUALLY via the GUI of the Google Dev Console the signed .aab bundle…
7
votes
2 answers

Release Pipeline throws the following error: Unable to apply transformation for the given package - Changes are already present in the package

I am using the File Transform V2 task on my release pipeline for my ClickOnce application deployment. -transform **\*.Release.config -xml **\*exe.config.deploy I've never had issues transforming and deploying ClickOnce applications in this manner,…
7
votes
2 answers

How to know the previous step result in Azure DevOps build Pipe line?

I wanted to know if there is any way we can know the result of a previous step execution in a build pipeline in azure dev ops. To explain my query in detail: Lets say in azure Devops i have a build pipeline with as around 10 steps which performs few…
7
votes
2 answers

Azure DevOps Release Pipeline, Read Environment Variables from C# Code

I thought the variables set in the Variables tab in a release pipeline were set as environment variables? On my TestCase Project I've got some settings stored as environment variables which are accessed during setup process of my tests, but in…