Questions tagged [azure-pipelines-release-task]
98 questions
3
votes
1 answer
Counter in Azure DevOps Release Pipeline
I need a counter, that goes up in every time you do a release, per each stage.
There's counter support in the build pipeline(https://learn.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=vsts&tabs=yaml%2Cbatch#counters) but there's…

Erndob
- 2,512
- 20
- 32
3
votes
1 answer
How to set a task variable from a remote powershell script?
From a release definition,
When I execute the following powershell script with the powershell task, it works
successfully and I can retrieve the value from the following tasks in the release definition :
Write-Host "##vso[task.setvariable…

PatriceVB
- 1,053
- 1
- 10
- 28
3
votes
2 answers
Failed to install 'VisualStudioRemoteDeployer' from service executable path VisualStudioRemoteDeployer.exe
Failed to install 'VisualStudioRemoteDeployer' from service executable path VisualStudioRemoteDeployer.exe
Error trace
System.AggregateException: Failed to install 'VisualStudioRemoteDeployer8a9e167d-96ee-45c0-9a2c-6251509937e6' from service…

Ajay Yadav
- 1,625
- 4
- 19
- 29
3
votes
1 answer
Cannot create Release Pipeline in Azure DevOps
I am trying to create a Release Pipeline to release my SQL Database Project in Azure DevOps Project
I have created a Build pipeline fine, but when I go to releases and click on the New pipeline nothing happens.
Tried this with multiple accounts,…

Aram
- 5,537
- 2
- 30
- 41
2
votes
1 answer
Azure DevOps Release Pipeline - How to get the source code that was used to create the build artifact?
I have a continuously triggered Azure DevOps release definition that deploys a compiled Angular app to a web server and also runs Cypress e2e tests. The Cypress tests must run against the source code, so that means I need an artifact that is able to…

Roger
- 2,118
- 1
- 20
- 25
2
votes
0 answers
How to copy files from a linux agent to windows agent in Azure DevOps release pipeline?
I have to run a Linux docker image for performing testing in Azure DevOps release pipeline. Hence, I have used;
Agent Pool : Azure Pipelines and Agent Specification: ubuntu-20.04
for that task. Now, result of this test has to be send as an email.…

Sneha Dominic
- 368
- 2
- 14
2
votes
1 answer
Azure DevOps Release Pipeline - Run a task when a specific previous task failed
I am using classic editor release pipeline and the requirement is to run a 'send email' task when a specific task fails. How can we configure custom condition for this requirement?
When we use the Azure provided condition 'Only when a previous task…

Sneha Dominic
- 368
- 2
- 14
2
votes
2 answers
Assign Key Vault Secrets to an Azure Function using Azure PowerShell
I am trying to automate the creation of certain azure resources via an Azure PowerShell script that is triggered from an Azure DevOps release pipeline. I want to create a function app, and automatically integrate reading right access to secrets in…

Gustavo
- 105
- 1
- 8
2
votes
1 answer
Is there any way to rollback devops pipeline on last successful?
I am trying to rollback in release pipeline when the latest release gets fail it will revert at last successful. I added a PowerShell task which only runs when previous tasks have failed and script which is triggering last successful but the problem…

Sudarshan Sharma
- 105
- 1
- 11
2
votes
1 answer
What does "Package or folder" refer to in the File transform task in a release pipeline?
I'm completely new to Azure DevOps Pipelines so if I'm doing something incorrectly I'd appreciate a nod in the right direction... I setup a build pipeline and that seems to be working, now I'm trying to setup a release pipeline in order to run…

so cal cheesehead
- 2,515
- 4
- 29
- 50
2
votes
1 answer
Replace parameters.xml or setParams.xml with Azure DevOps Release Pipeline variables
I have a custom config file, which contains parameters to replace at release time with Release Pipeline variables. The replacement of the value in the config file works. If the setParams.xml is bound then the file contains this value, if not then…

mburm
- 1,417
- 2
- 17
- 37
2
votes
1 answer
How to ensure that a release stage is executed by every agent of the agent pool
I have set up a multi-agent job for an Azure Release Pipeline. There are two agents in the agent pool. The job needs to be executed by every agent in the agent pool.
The settings shown in the above schedule two agent jobs whenever a release is…

millokeller
- 252
- 2
- 12
2
votes
1 answer
Azure DevOps Extensions - How configure to my extension displays Control Options > Run This Task
I am starting with extensions for Azure DevOps, and I have a little problem with default configuration.
I need that my project has "Run this task" option, in Control Options, like all others extensions. I was looking Microsoft official and in other…

thiagobarradas
- 121
- 4
2
votes
1 answer
Release pipeline: Select different branch for Azure Repos Git artifact
Have a release that uses a reference to a configuration-type repo.
When I configure, I can set the "Default" branch to master:
When I create a release, I can chose a branch for the main build artifact:
But I cannot chose the branch of the Git…

MaurGi
- 1,698
- 2
- 18
- 28
1
vote
1 answer
How can I use Release pipeline to deploy to openshift
I am working with Azure Devops server, CI is handled by build pipeline, now I want to use Release pipeline to be able to deploy the built image of the code to openshift, How can I achieve this ?
I am using quay to store the images, and will use an…

Priyanka Sharma
- 87
- 11