Questions tagged [azure-pipelines-release-task]
98 questions
1
vote
1 answer
Configure Azure release artifacts default directory to C (calling "GetHostByName" with "1" argument(s): "No such host is known")
I have two Devops Azure release stages(DEV and TT). Dev is able to retrieve artifacts from build source CI pipeline and copy to C drive(looks ok) where as, TT copies to D drive and I am unable to locate the path on build server like D:\a\r1\a....…

ANIL MANE
- 1,395
- 2
- 16
- 30
1
vote
1 answer
Azure Pipeline - dotnet build fails with "error MSB3073: The command netcoreapp2.2/ThisAssembly.Project.g.cs' exited with code 2."
My netcoreapp2.2 project which builds successfully in local VS, but fails on Azure Pipeline.
The "script: dotnet build" task below is the default task which got added when I selected "ASP.NET Core" when creating "New Pipeline".
I tried changing it…

amsDeveloper
- 177
- 4
- 14
1
vote
1 answer
Ignore files/folders in AzureBlob File Copy task
I am using the AzureBlob File Copy task in a release pipeline. I want to ignore certain files and folders from my source artifact (e.g. .gitignore, all .md files, the .git folder).
The Optional Arguments for the tasks does not seem to accept the…

Daniel L
- 13
- 4
1
vote
2 answers
Terraform remote exec task does not connect to remote server - last error: dial tcp i/o timeout
I am running terraform on Azure DevOps, Azure Release pipelines. The end goal is to spin up a VM, install and run Ansible so that we can run playbooks to configure Windows server just provisioned.
However,I'm getting error…

learner
- 2,480
- 10
- 50
- 94
1
vote
0 answers
PublishTestResults with suite-level message output
I am well aware that what I am looking to do is not currently possible, so I am looking for a workaround.
First of all, assume a microservice-based, highly modular application system. Each microservice has its own unit tests that are run in its…

Tadas S
- 1,955
- 19
- 33
1
vote
1 answer
Azure Release pipeline, terraform task - unable to authenticate with Azure, reports error 700016
My Release pipeline was working very fine until I deleted app registration/Service Principal from UI and created a new one using the below command.
az ad sp create-for-rbac --name --password
I updated the…

learner
- 2,480
- 10
- 50
- 94
1
vote
1 answer
Variable and Variable Groups from File in Azure Pipelines
Is it possible to create a Release Pipeline Variable or Variable group based on a file in your repo.
My use case is that we use liquibase to update Databases on SQL server in azure. In order parallelize this, we use a variable group containing the…

Andy Kelly
- 11
- 1
1
vote
1 answer
How to deprecate/remove old Azure Devops tasks
I have a release task (internal) that is currently in v4. I'd like start encouraging my users to move to the latest version. I followed these instructions to bundle multiple versions of the task, then I was hoping I could use the deprecated tag, but…

JDH
- 2,618
- 5
- 38
- 48
0
votes
1 answer
Getting System.ComponentModel.Win32Exception (5): Access is denied on Azure-Release
I am running UI-Automation Test with Appium WinAppDriver using a .bat file. When I run the .bat file manually on the agent everything goes as expected but it produces
System.ComponentModel.Win32Exception (5): Access is denied exception when running…

Sharyar Vohra
- 182
- 1
- 11
0
votes
1 answer
Getting a "Credentials cannot be null" error when trying to deploy via a devops release pipeline
I'm trying to deploy an Azure Function from an Azure DevOps repo via an DevOps pipeline and release.
When it gets to the deploy stage I get an error message stating that the credentials can not be null, but knowhere in the canned release components…

John S
- 7,909
- 21
- 77
- 145
0
votes
2 answers
Azure DevOps SSH release pipeline task and Docker Compose STDERR
I am using Classic release pipelines in Azure DevOps and configured simple SSH task what calls docker-compose:
cd /home/asem/platform/$(ServiceName) && sudo docker-compose up -d --force-recreate
Issue: task fails with errors:
Docker-compose…

Aleksei Semidotskii
- 1,385
- 1
- 10
- 18
0
votes
2 answers
How to set PATH for all steps in Azure Pipeline Yaml?
I want to define the PATH only once for the whole pipeline.
Is this possible?
I've done this, but it doesn't work:
trigger:
- master
jobs:
- job: Application
pool:
vmImage: ubuntu-latest
steps:
- task: CmdLine@2
…

lsaudon
- 1,263
- 11
- 24
0
votes
1 answer
Azure DevOps: Auto-redeploy trigger (When New target is available) Not working
I'm using Azure DevOps pipeline to trigger automated release to group of servers. For this using Deployment group job.
My situation is i'm a fleet of EC2 instances grouped and managed by AWS AutoScaling group. New instance is launch with custom AMI…

Basit
- 862
- 1
- 12
- 30
0
votes
1 answer
Azure Release Pipeline: How to pass a variable to Manual Intervention instructions?
I would like to personalize the instruction message of a Manual Intervention task in a Release Pipeline.
Right now the message is very simple, as you can see:
It just says "I need your intervention!".
Now I would like to add a dynamic value to it,…

Edoardo
- 13
- 5
0
votes
1 answer
How to use SAS Token in Azure File Copy Pipeline Task?
I am trying to copy ADF ARM templates to a storage account using the Azure File Copy Task in my Azure release pipeline. Since the storage account has firewall and networking set up, I want to use the SAS token to allow the Pipeline agent to copy the…

AJ31
- 210
- 2
- 13