Questions tagged [azure-pipelines-release-task]
98 questions
0
votes
1 answer
Azure Devops Yaml Python Script task: PythonScriptV0 , how to pass arrays as the field supports only a strings
I am trying to pass to a python scripts 3 parameters one of them is an array, this works when i run the script locally, i am using sys.argv to achieve this.
However the argument field support only strings as far i can see. How can i go around this…

Martin
- 35
- 4
0
votes
2 answers
How to Use Powershellscript in Azure classic Release pipeline - script file stored in Azure Devops Secure File
I am using a custom script extension for VM in ARM Template:
{
"type": "Microsoft.Compute/virtualMachines/extensions",
"name": "[concat(parameters('vm-Name'),'-0',copyIndex(1),'/script')]",
"apiVersion": "2015-05-01-preview",
…

Anonymouus
- 17
- 7
0
votes
0 answers
Is there any way to take input from user after azure devops release creation?
We have a scenario where some stages that are auto triggered a specific stage in our Azure DevOps release pipeline is set to trigger manually.
Now, release will be created by a user after setting all the run time variables and all the auto trigger…

Sandy
- 1
- 1
0
votes
1 answer
Azure Pipeline - nested tasks or other way to run task for selected hosts
I have parameter "parameters.affectedHosts" with 4 hosts:
${{ parameters.affectedHosts }} = "host1, host2, host3, host4"
I need to check if Edge is installed and then install if not.
Is there any option to upload artifact only to hosts that don't…

user3345547
- 717
- 2
- 6
- 16
0
votes
2 answers
How to pass the secret from azure key vault to Environmental variable
The environmental variable TEST_SECRETS shall contain the secrets from the azure key vault.
This can be achieved by the AzureKeyVault task shown as follow
- task: AzureKeyVault@2
displayName: Credential Fetch
inputs:
…

SLN
- 4,772
- 2
- 38
- 79
0
votes
1 answer
Automatic Release deployment on a specific Environment
I have an azure organization with multiple projects and repositories. Whenever I make some commits in any repository in a project, a new release gets created under a pipeline with the same name as that repo under a different project and using CI/CD…

Kushal Sharma
- 13
- 2
0
votes
1 answer
What is the difference between Azure Devops AzurePowerShell@4 and AzurePowerShell@5 tasks?
I have some existing ADO YAML pipelines. They are using AzurePowerShell@4 task. But the latest version of this task is AzurePowerShell@5 . I have checked on the internet but I couldn't find their difference.
Does anyone have an idea?

MoonHorse
- 1,966
- 2
- 24
- 46
0
votes
1 answer
How can I pass a gate output value from an agentless job -> agent job?
I am using the official Microsoft ServiceNow plugin in a gate to create tickets via Azure Pipelines.
Once the gate is finished processing, there is an output that I'd like to consume in an agent job. The problem is that this output is only available…

mmuso
- 11
- 3
0
votes
1 answer
anywork around for running Azure devops Test plans for javascript tests?
Currently Azure devops maynot work with javascript tests.
Has anyone found work around for running Jest/Mocha/ codeceptjs/ webdriver io tests as part of Test plans?

Irfan
- 49
- 6
0
votes
1 answer
Cannot update variable in Azure Pipelines Library group from Release definition
I have an Azure Pipelines variable group with tree variables defined in "Library". I want to update one of the values from my pipelines.
I have written this Powershell script to do so.
$variableName = "Version_old"
$url =…

Jesper Lund Stocholm
- 1,973
- 2
- 27
- 49
0
votes
2 answers
Multi-Stage Release pipeline variable value overriden by current value during rerun
In the classic release pipeline when you rerun a release build the same variables that were used when the release was initially created were used. In multi stage pipeline I am seeing the value is picked freshly/newly when even when we rerun the…

Raju Rh
- 127
- 1
- 9
0
votes
1 answer
"Run this job" when sourceFolder contains a folder in Azure Release Pipeline
I have Azure pipeline, i need to stop the pipeline when the sourceFolder doesn't contains a specific folder.
For Ex: if my sourceFolder contains
/home/vsts/work/1/s/projectName/src/app/pos - pipeline should run
if my sourceFolder…

sanjai
- 128
- 1
- 1
- 13
0
votes
1 answer
Could not load file or assembly sapnco vstest Azure Pipelines
When running a tests from a test plan in Azure Pipeline using Automated tests using Release stage, we are getting a failure "Could not load file or assembly 'sapnco, Version=3.0.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23' or one of its…

Ashwin Hariharan
- 204
- 2
- 12
0
votes
1 answer
Azure Pipelines: Rollback to a certain version (release) after failed deployment to Kubernetes cluster in Azure-Pipelines.yml
I am using Azure DevOps (Pipelines -> Pipelines) to create my CD pipeline to release to production. I understand that using Pipelines releases (Pipelines -> Releases) I am able to select and redeploy a previous release version. I would like to know…

Richard Rodjues
- 207
- 1
- 6
- 23
0
votes
1 answer
i am facing below issue in git based wiki updater task
I created Authentication token as well all permission for user which running pipeline is defined