Visual Studio Team Services and Team Foundation Server Release Management.
Questions tagged [azure-pipelines-release-pipeline]
1942 questions
12
votes
4 answers
Passing release variables between two agent phases
I'm working with TFS on-premise.
My issue is that during a release I have two agent phases separated by a manual intervention.
In the first agent phase, I set a variable with:
Write-Verbose $("##vso[task.setvariable variable={0};]{1}" -f…

Pierre P.
- 890
- 1
- 18
- 41
12
votes
3 answers
Deploy database to Azure SQL fails, sp_MSforeachtable not found
I am trying to publish a SQL Server database using a .dacpac and publish profile to an Azure SQL database. We have been using on premises SQL Server with no problems for quite some time, and now we are evaluating Azure and AWS to see which is best…

dotnetmensch
- 586
- 2
- 6
- 20
11
votes
1 answer
What does revert do in Azure Release pipeline?
On a release pipeline's history tab, you can select the ellipses on each record and choose to compare the difference or revert pipeline.
What does the revert option do? Does it revert the selected version (change) out of the latest pipeline? or does…

variable
- 8,262
- 9
- 95
- 215
11
votes
2 answers
Azure DevOps - permissions issue with deployment groups
Does anyone know where I can set the permission to manage deployment groups in Azure DevOps.
If i click on "deployment groups" in the menu shown here:
I am receiving this message when i click on a deployment group.
The error message states:…

Matt
- 1,168
- 2
- 15
- 24
11
votes
2 answers
Deploying Vue.js App using azure devops release pipeline
I have a vue.js application that is creating and building using vue-cli 3. I have some environment variables in .env.test and .env.prod files.
To build the app I'm using a azure devops build pipeline where I run the command:
npm run build:test or…

chamix
- 133
- 1
- 7
11
votes
3 answers
Set VSTS output variable to be result from bash command
I'm running a task in VSTS which performs some operations on a variable from a previous step and I then need to output the result to be used in future tasks. I have the following in a command line task running on a linux build host but am having no…

David Parsonson
- 585
- 6
- 23
11
votes
1 answer
Skip Get Sources and/or clean step in VSTS build with multiple phases
In VSTS build and release, I am now trying to separate out my code compilation and testing into separate phases for a build plan.
The first phase is fine, it does a git clean and gets sources and all that. However, the second phase should just start…

warp
- 113
- 1
- 5
11
votes
3 answers
VSTS: Unable to add Build Tag which trigger release
In VSTS online, I have in my Release process (Under Triggers) the Continuous Deployment checked. On the Set trigger on artifact source, I put a Tag condition (with tags) set to Automated.
I also have a tag in the Build Process. (Correctly adds the…

Stephane
- 11,056
- 9
- 41
- 51
11
votes
6 answers
VSTS Release multi-line variable
I have task in VSTS release management that deletes files. I want to have the Contents come from a variable. I have created a variable but I can't figure out how to create a multi-line variable. So for example a variable that deletes the three types…

Pragmatic Coder
- 484
- 1
- 4
- 17
10
votes
1 answer
How to pass variable from build to release in azure build to release pipeline
How to pass variable from build to release in azure build to release pipeline:
We have variable in CI pipeline --> we have to pass that variable in Release pipeline--> that variable has to set in another yaml file.
is this possible?

Venki
- 225
- 4
- 14
10
votes
1 answer
Cancel previous release azure pipeline yaml
When creating a release pipeline via the UI (Release) in Azure Devops you have the option cancel previous release.
How can i create this with YAML in my release pipeline, now as you can see al the previous releases are still waiting

JK84
- 325
- 1
- 2
- 13
10
votes
3 answers
Calling console application from Azure DevOps Release Pipeline
Trying to have a Azure DevOps Release pipeline that has a deployment agent installed on-prem run a console application as a specific user that has access to an on-prem database.
This is the workflow
Azure Release Pipeline calls-> Agent on-prem…

Mike
- 131
- 1
- 7
10
votes
2 answers
How do pass variables between tasks in VSTS pipeline?
Im working on deploying arm templates via VSTS pipeline. I have a powershell script which gets a subnet id and I need to pass this subnet id value into another task in VSTS. How can i pass variables from a powershell script to vsts and then pass…

itye1970
- 1,654
- 7
- 31
- 62
10
votes
1 answer
Octopus Deploy vs VSTS Release Tooling
Edited to hopefully better fit community guild lines for questions.
I am setting up a CI/CD pipeline for the first time and I would eventually like to setup automated deployments to QA and Production environments. I currently have my source code in…

Calidus
- 1,374
- 2
- 14
- 31
10
votes
1 answer
How to use private npm package feed on visual studio team services build and release management
I started usign a private npm feed on my visual studio team services account, following their guide and having added a .npmrc file
registry=https://ascend-xyz.pkgs.visualstudio.com/_packaging/AscendNPMFeed/npm/registry
always-auth=true
The problem…

Poul K. Sørensen
- 16,950
- 21
- 126
- 283