Visual Studio Team Services and Team Foundation Server Release Management.
Questions tagged [azure-pipelines-release-pipeline]
1942 questions
9
votes
2 answers
Error Deploying Release Pipeline Windows 2016 deprecated - Azure Devops
I got this error message:
This is a scheduled windows-2016 brownout. The windows-2016 environment is deprecated and will be removed on April 1st, 2022. For more details, see https://github.com/actions/virtual-environments/issues/5238
Took me forever…

matt sharp
- 326
- 3
- 11
9
votes
1 answer
How do I Build and Publish .Net Website using Azure DevOPs Pipeline
Is there support for building and publishing a .net Website (not a webapp) in Azure Devops?

Mike Murphy
- 910
- 2
- 11
- 27
9
votes
2 answers
Trigger build only if no changes on specified folder in Azure Pipelines
I have a repo with two subfolders in Visual Studio Team Services: Code and Scripts.
I am now triggering one build (BuildScripts) when there's a change in the Scripts folder and another build (BuildCode) when there's a change in the Code folder…

vicch
- 564
- 3
- 10
- 25
9
votes
1 answer
AzureDevOps Release pipeline with multiple artifacts
Is it possible to have a single release pipeline with multiple artifacts that will trigger separate stages conditionally.
Example:
(Build Artifact 1) Build tags of Web
(Build Artifact 2) Build tags of Identity
When i setup my release pipeline I…

R4nc1d
- 2,923
- 3
- 24
- 44
9
votes
1 answer
Azure Function deployed successfully, but not working
I am facing a weird problem. I deployed my code using Azure DevOps Pipeline Release - it ran successfully, however, the code is not reflecting in Azure Function App.
Here is what I am doing:
Created a Release pipeline with a "Deploy Azure App…

TechiRik
- 1,893
- 6
- 27
- 37
9
votes
4 answers
How to Set Up Application Insights from an Release Pipeline/ARM Templates
We have an Azure DevOps release pipeline, which sets up all of our Azure resources in a location. I can create everything successfully with ARM templates, but I'm struggling to link the App Service with the App Insights resource.
If I were doing it…

Paul
- 16,285
- 13
- 41
- 52
9
votes
1 answer
How to include my config transformation files in the web deploy zip?
Im setting up a new build and deploy pipeline in Azure Devops. It is an older Web application with some transformation files for the web.config. In the old days we would build the same code x times depending on how many environments. This this is no…

Jepzen
- 2,942
- 6
- 40
- 62
9
votes
4 answers
Set Output Variable in Azure CLI task on VSTS
I am getting crazy to achieve this very simple task.
I need to set an Output Variable in an Azure CLI task on Visual Studio Team Services, because next task in the Release definition will be executed according to the value of this variable.
I wrote…

user2297037
- 1,167
- 2
- 14
- 34
9
votes
6 answers
VSTS/TFS set environment variable ASP.NET core
I'm trying to deploy an ASP.NET Core application to IIS using VSTS with the following tasks
However, after much googling and browsing through MS docs I couldn't find a way to set environment variables for the deployment. The variables I set in the…

ubi
- 4,041
- 3
- 33
- 50
9
votes
2 answers
TFS 2017 - Build agents priority and order
I have a pool with 10 agents. I have noticed that usually only some of them are used, and others still there have hardly ever been used.
I am wondering if is there a way to say to TFS to use all of them? For example, something like TFS grabs them…

Janissetti
- 93
- 1
- 4
9
votes
2 answers
No packages found with specified pattern
I am using Deploy azure app service to slot build step in Team Services, I want to be able to build my solution with PackageAsSingleFile set to False. However when I try to release the package with path to the artifact created I get "No packages…

ruffen
- 1,695
- 2
- 25
- 51
9
votes
2 answers
Override TestRun Parameters with value including semi colons in Visual Studio Team Services
My runsettings file contains few connectionstrings which I want to be able to override in VSTS depending on the environment.
I don't want a specific runsettings file for each environment, but I want to use environment variables in order to be…

camous
- 998
- 11
- 27
8
votes
1 answer
Install multiple Azure DevOps environment agents on server
We have a dev server hosting webservices from multiple Azure DevOps projects. To use yaml deployment pipelines, we migrated from deployment pools to environments/resources. Unlike deployment pools neither environments nor resources can be shared…

Matthias Schuchardt
- 649
- 8
- 14
8
votes
3 answers
The $(Build.ArtifactStagingDirectory) variable's value changes when deploying a build in Azure DevOps Pipelines
I have a DACPAC deployment task which is failing, because for some reason the value of the $(Build.ArtifactStagingDirectory) pipeline variable is changing between the build pipeline and the release pipeline. In the build pipeline, the variable is…

ekolis
- 6,270
- 12
- 50
- 101
8
votes
1 answer
How to properly do file transforms on Azure Pipelines
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 pipeline, here is the YAML file that I am using:
#…

Hussam Ahmed
- 413
- 1
- 5
- 17