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.

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.

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