Questions tagged [azure-pipelines-tasks]
216 questions
1
vote
1 answer
Is there a way to see more details in azure pipeline building?
My company recently upgraded from macOS11 to macOS12 in azure pipeline. But the building project pipeline keeps failing with this error:
##[error]Error: /usr/bin/xcodebuild failed with return code: 65
But it doesn't show me where the error is in the…

JohnSlow
- 11
- 2
1
vote
1 answer
Error while installing dotnet-ef in azure pipeline
I'm generating ef migration scripts in azure pipelines,
for that I'm performing the following tasks:
- task: DotNetCoreCLI@2
displayName: Install EF Tool
inputs:
command: custom
custom: 'tool'
arguments: 'install --global…

Abi Reddy
- 79
- 5
1
vote
1 answer
Dependencies azure devops yaml
I can't understand why dependencies don't work. I need to fix - task: cake@2 and other commented tasks. Now they looks like jobs, but I need to convert them into tasks.
Here that task:
- task: Cake@2
displayName: Restore FE and Sitecore…

Yar
- 27
- 5
1
vote
1 answer
How to get Azure pipeline Task Status for a specific task?
My purpose is to get the status of a specific pipeline task in a job.
I've tried to send an API call referencing the method at the Reference Link but it only returned the running log of the task.
Is there exist any method to get the status…

Hilal
- 41
- 7
1
vote
1 answer
How to run an Azure Pipeline DotNetCoreCLI task on Linux with permissions?
I have the following azure pipeline task snippet below, running on Linux self hosted agents.
- task: DotNetCoreCLI@2
displayName: Run Dotnet Test
inputs:
command: test
#arguments: --blame-hang-timeout 2min (supported…

Veverke
- 9,208
- 4
- 51
- 95
1
vote
1 answer
Filter json output in azure synapse-pipeline?
I'm creating a Pipeline in Azure Synapse Analytics using the synapse pipeline to get the content of a Rest-API call. Before the call I have to get the bearer token. While using the web activity to get the bearer token for an Rest-API Call, I get the…

AzUser1
- 183
- 1
- 14
1
vote
1 answer
Set variable on azure task to pass another task of Azure pipeline
I am able to set a variable on powershell or bash script and pass the variable to another task by using ##vso[task.setvariable variable=abc;]xyz. But couldn't find any documentation to set variable on azure tasks like azure webapp deploy task or…

Akash paul
- 93
- 2
- 9
1
vote
2 answers
Azure pipeline: User-defined variable set in script not expanded when used in later step with template
I am trying to pass a variable, set by a ps1 script, as a parameter to a template yaml file in an azure pipeline yaml. However no matter what I try the variable is never expanded when it reaches the template.
parameters:
- name: myparam
type:…

AJ.
- 1,226
- 1
- 16
- 21
1
vote
1 answer
Use query-time variables in pipeline YAML
I have set up a pipeline with variables users can enter using the UI like this:
UI for userinput of variable called 'forceRelease'
I now want to use this variable in the pipeline yaml inside an if-statement like this:
jobs:
- job: Demo
…

Dirk G.
- 11
- 2
1
vote
4 answers
How to check if installed extensions are used in pipelines
I would like to check which custom installed extensions from VS Marketplace are used in both build and deployment pipelines.
Does Azure DevOps provide any view for that or must it be done manually?
Would tremendously help for extension…

Ondrej
- 15
- 6
1
vote
1 answer
AzureDevOps: A task to trigger a release pipeline from YAML
We have a classic release pipeline that we'd like to be able to trigger from a YAML build pipeline under certain conditions, these conditions aren't always going to be ones we can define using the existing CI trigger that can be defined for a…

MobileDev
- 189
- 7
1
vote
1 answer
How to deploy a Spring boot WAR file to Azure Web App without exploding using a DevOps Pipeline task
I am trying to build an Azure DevOps pipeline to deploy a Springboot Web app with embedded Tomcat packaged as a WAR file, using an Azure Pipeline deployment task. Something like this:
- task: AzureRmWebAppDeployment@4
…

Tim
- 11
- 1
1
vote
0 answers
How can I download an artifact from one organization to another organization in Azure Devops?
I am writing one staging yaml file our pipeline. I am able to get all the artifacts from our organization but when I try to download the same from other org, it throws an error like this:
##[error]xxxx: The project with id…

amit zala
- 11
- 1
1
vote
1 answer
Set an output variable from an agentless job
I have a pipeline that runs an agentless job. This job produces a result that I would like to pass to the next or next job. The problem is that all the examples I've found set variables on agent jobs, not agentless. See here, all the examples use…

Sunny-Dee
- 87
- 9
1
vote
3 answers
"##[error]Error response from daemon: failed to reach build target in Dockerfile" only during CI pipeline
I'm getting this error in my PR pipeline and I'm not sure what the cause and solution is.
The Docker task is pretty well templated and the stage does exist in my Dockerfile:
# docker.yaml
parameters:
- name: service
default: ''
- name: jobName
…

cjones
- 8,384
- 17
- 81
- 175