Visual Studio Team Services and Team Foundation Server Release Management.
Questions tagged [azure-pipelines-release-pipeline]
1942 questions
7
votes
3 answers
How to modify Azure DevOps release definition variable from a release task?
What is the easiest way to get key rotation to work for azure storage accounts from a AzureDevOps relase task? The current plan is to re-generate the old key after release to invalidate it, and have a fresh key that can be used on next deployment.…

Oddleif
- 751
- 3
- 9
- 35
7
votes
1 answer
Is it possible to link a work item to a release?
We would like to link a TFS work item to a Release so we can easily, with one click from the Release, open a TFS item that contains more info about this release. Info like Release Notes etc.
Is it possible? A release has these variables that can be…

Nicolae Daian
- 1,065
- 3
- 18
- 39
7
votes
1 answer
VSTS Extension - Get build URL
I'm developing a VSTS extension in Javascript.
In one of my tasks, I need to get a link to my build results.
I tried to read from {$Build.BuildUri} but it gives me vstfs:///Build/Build/{buildId} and not a real link.
How can I get a direct link to…

yahavi
- 5,149
- 4
- 23
- 39
7
votes
1 answer
VSTS Extract zip fails with 'EPERM: operation not permitted, stat 'D:\MyFilePathHere'
I frequently but not consistently run into EPERM: operation not permitted, stat 'D:\MyFilePathHere when using the 'Extract Files' Task with the Clean Destination Folder before extracting option in my Release Definition. It happen on multiple…

Calidus
- 1,374
- 2
- 14
- 31
7
votes
1 answer
Use git tag or package.json version as Release name in VSTS
I have a CI task in VSTS for automatic build and test and an automatic release definition for the 'Latest from build definition default branch with tags'.
The release name format is currently set to the default value $(rev:r) which just sets an…

Th3S4mur41
- 1,930
- 1
- 13
- 28
7
votes
2 answers
Adding Azure Subscription as a Parameter of Task Group in VSTS
I'm trying to create a Task Group out of several tasks that Deploy a few apps into Azure AppService among other things. My idea is to use this Task Group to deploy into different Environments (ie, Dev, QA, UAT, Prod).
However, I can't convert Azure…

Boris Lipschitz
- 9,236
- 5
- 53
- 63
7
votes
1 answer
Deployment for Service Fabric service version upgrade fails on VSTS Release
Summary
The following error appears at log.
The content in ConfigPackage Name:Config and Version:1.0.0.20180315.2 in Service Manifest 'TwoServicePkg' has changed, but the version number is the same.
I changed only the code of one of the services,…

Minos
- 218
- 2
- 7
7
votes
3 answers
Running Selenium Tests in Chrome (Headless mode) on a VSTS Hosted Agent
Is it possible to run Selenium C# tests on a hosted agent within a Visual Studio Team Services build/release using the Chrome driver in headless mode?
I've seen contradictory information indicating this is and isn't possible currently. This user…

smd
- 352
- 3
- 15
7
votes
1 answer
Using VSTS Release Definition to run Entity Framework Code Database Migration
I am writing a .NET Core and Entity Framework Core Application using Code-First Migrations.
I want to be able to deploy it to an Azure Web App using Visual Studio Team Services Build and Release Definitions
I want to be able to run the Database…

TimBunting
- 484
- 5
- 18
7
votes
2 answers
How to return the full comments when using the VSTS Api to get a list of commits?
I have a script for using the VSTS api to generate a log of commits between two different versions, however the response from the VSTS api returns the comments as truncated. This is the most important part of the log for my purposes and as such…

DylanB
- 271
- 1
- 6
6
votes
2 answers
Angular (8) application build once (with production config) and deploy to multiple environments
I have a situation where I’m trying to build my angular application with production config and deploy to multiple environments, say, ng build --configuration=production
The work flow here is when I build using the above command (ng build…

Ananth Asamani
- 207
- 2
- 15
6
votes
1 answer
How do I edit view and edit the YAML file for the Release Pipeline in Azure Dev Ops?
I've successfully built my code on Azure Dev Ops by modifying the pipeline YAML file, but I have been unable to successfully deploy the artifact to my IIS Server. The only way to create a deployment is by using its unpleasant UI.
I've read that by…

ATL_DEV
- 9,256
- 11
- 60
- 102
6
votes
2 answers
Fastlane Getting Freeze at Running script '[CP] Embed Pods Frameworks' With azure Pipeline
Using Fastlane with azure pipeline Build getting a freeze at Running script '[CP] Embed Pods Frameworks we aren't able to do further action on the build as it gets stuck on given a run script
Error:https://ibb.co/qFbqqfz
Also, raise the same query…

Siddharth Shah
- 382
- 4
- 22
6
votes
2 answers
PublishPipelineArtifact .artifact ignore not recognized
I am using Azure DevOps build pipeline to send a artifact over to a release pipeline. My build pipeline is as follows:
Install Node JS with NodeTool@0
Run a Script Command that runs npm install and then runs the test suite.
Post the code coverage…

kirikintha
- 468
- 5
- 11
6
votes
6 answers
Windows Machine File Copy - DevOps task and IP address
I am building a Release Pipeline on Azure DevOps. Part of my release is to copy a bunch of files to the Azure VM. As far as I understand, the target machine needs to have PowerShell 5986 port open.
I have a VM with port 5986 open (I verified that by…

mnj
- 2,539
- 3
- 29
- 58