Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSO/VSTS: Error when using Publish Build Artifacts on the host agent

When using the Publish Build Artifacts task, the following error gets thrown in the build (just after "Get sources"):

The definition for the task does not have a handler that matches any supported by this agent. Supported handlers: AzurePowerShell, AzurePowerShellHandler, PowerShell, PowerShellHandler, PowerShellExe, PowerShellExeHandler, Process, ProcessHandler

I am using the VSTS (formally known as VSO) Host Agent.

Publish Build Artifacts

like image 422
Dave New Avatar asked Dec 01 '25 06:12

Dave New


1 Answers

I can reproduce this issue too. Checked the source code for "Publish build artifacts", this issue seems to be caused by the PowerShell script is missing. I have help you submit a feedback to MS, you can track the status here.

For now, you can use "Copy and Publish Build Artifacts" task to publish your artifacts. enter image description here

like image 110
Eddie Chen - MSFT Avatar answered Dec 03 '25 01:12

Eddie Chen - MSFT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!