Visual Studio Team Services and Team Foundation Server Release Management.
Questions tagged [azure-pipelines-release-pipeline]
1942 questions
0
votes
2 answers
Microsoft Azure: I have check in the code from the Visual Studio, and it automatically build in the pipeline
I have checked in the code from the Visual Studio, and it automatically builds in the pipeline. Now I want to push that into one of my branches, let's say Dev from where I clone and fixed the necessary updates and bugs. Now I want to replace the old…

Rah Mkrel
- 1
- 2
0
votes
1 answer
Is it possible to fail an Azure Release Pipeline stage if startup command is not successful?
I have an ASP.NET Core app and trying to automate deployment to a Linux-based Azure App Service through the on-premises Azure DevOps server. I managed to build everything and deploy the code to the App Service.
At this moment, the Startup Command…

Andrew Simontsev
- 1,078
- 9
- 18
0
votes
1 answer
How to trigger Agent Job As per condition using PowerShell in Azure Devops Pipeline
I have a PowerShell as below:
echo "Hello-World"
$MyVariable = "Proceed"
echo $MyVariable
What I want to do :
If the MyVariable is "Proceed" Only and only then Agent Job2 Should run
I have used PowerShell task and Given Variable name as…

Eddie
- 581
- 3
- 11
- 20
0
votes
1 answer
Azure Devops - Azure powershell task find release/deployment directory
I'm running Azure devops where i have a pipeline and a release (running on a self hosted agent), and the release is set to send up to an azure app service. The deployment works fine, the only issue is that i'd also like to be able to (based on some…

Phil
- 1,852
- 2
- 28
- 55
0
votes
1 answer
Retrive Variable in a variable group using another variable
I have variable group variable as given below
opp453.Name = "Raj"
pqr325.Name = "Shyam"
I know can I retrieve the variable group as below
$(opp453.Name) or $(pqr325.Name)
If I have another variable
$ptrref=opp453 or
$ptrref=pqr325
Then how can…

mystack
- 4,910
- 10
- 44
- 75
0
votes
1 answer
Release pipeline - share Artifacts between docker stages
I have following azure release pipeline:
Stage 1 runs a docker image, that produces some results, say results1.json
Stage 2 runs a docker image, that produces some results, say results2.json
Now, stage 3 (also docker image) will wait for first two…

Matthewek
- 1,519
- 2
- 22
- 42
0
votes
1 answer
Not able to print the Azure-Keyvault secret in the release pipeline
I am trying the below code to retrieve the Azure-Key vault secret from the release pipeline. But I am not able to print the exact string using the below code
(Get-AzKeyVaultSecret -vaultName "keyvalultname" -name…

mystack
- 4,910
- 10
- 44
- 75
0
votes
1 answer
Run Azure powershell commands in Azure devops pipeline
What I should do to run the Azure powershell commands against release pipeline. When i try to run the Azure powershell command in the "Inline Azure Powershell" i am getting below error.
##[error]The term 'Get-AzKeyVaultSecret' is not recognized as…

mystack
- 4,910
- 10
- 44
- 75
0
votes
1 answer
How to schedule the execution of a Python script in Azure DevOps (after successful Build)?
I have an Azure Pipeline Build. The *.yaml file executes correctly a Python script (PythonScript@0). This script itself creates (if does not exist), executes and publishes Azure ML pipeline. It runs well when the Build is executed manually or is…

Fluxy
- 2,838
- 6
- 34
- 63
0
votes
2 answers
Suggestions for alternative to Azure cloud load testing
Can anyone please suggest an alternative to cloud-based load testing (free/open-source). Since the load testing feature would be deprecated on azure in a few months, what are people in the market opting for besides AWS.
Thanks

TasneemS
- 9
- 1
0
votes
1 answer
Icon is not visible on release task catalog in Azure DevOps pipeline. vss-extension.json as below,
{
"manifestVersion": 1,
"id": "build-release-task",
"name": "",
"version": "1.1.9",
"publisher": " ",
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"description": "",
…

Suraj Shinde
- 89
- 1
- 3
- 7
0
votes
1 answer
How to implement Git tag and merge on release?
The final stage of our release pipeline is a manual stage used to confirm the deployed release got its final acceptance. Among the tasks we would like to run in this stage:
Tag the develop branch with the release label. Say "1.2.3".
Merge the…

JG801
- 121
- 2
- 7
0
votes
1 answer
Automatize App Offline in Azure App Service and Visual Studio
I want to Make App_Offline.htm Custom and updatable I'm using MSDeploy in order to publish from both Azure Pipeline and Visual Studio 2019. Publish Works fins in Both. My Web Project is on .Net Core 2.2
My problem is that I want to Take The App…

tlejmi
- 526
- 8
- 13
0
votes
1 answer
Schedule a Azure devops release in multiple timing by passing different VariableGroup
I am able to schedule a release in multiple timing by using below script
$timinglist=@(1:30,2:30,3:30)
$PATtoken= 'PAT'
Write-Host "Initialize Autnetication COntext" -ForegroundColor DarkBlue
$token =…

mystack
- 4,910
- 10
- 44
- 75
0
votes
0 answers
Webdeploy using Azure DevOps
Currently, we see some pretty random deployment times to our Azure App Service (p1v2 and p2v2) based in West Europe. Some times it takes 3 minutes and some times it takes multiple hours to deploy the same codebase. Sometimes I cancel the webdeploy…

Hos
- 583
- 1
- 6
- 25