“未找到支持的任务执行处理程序”。 [英] "Supported task execution handler not found."
问题描述
大家好
因为我正在开发一个PHP应用程序并使用一些Shell脚本,所以我需要运行我的自定义Ubuntu(16.04.1 LTS)VSO代理。为了上传准备好的应用程序,我安装了
" FTP上传器"我的VSO帐户上的扩展。在我的构建定义中使用它时,我在排队时看到以下日志条目:
Because I am developing an PHP app and using some Shell scripts I need to run my custom Ubuntu (16.04.1 LTS) VSO agent. For uploading the prepared app I installed the
"FTP Uploader" Extension on my VSO account. When using it in my build definition I see the following log entries when queuing a build:
******************************************************************************
Starting: Upload using FTP
******************************************************************************
==============================================================================
Task : FTP Uploader
Description : For uploading files using FTP protocol.
Version : 1.0.24
Author : januskamphansen
Help :
==============================================================================
Supported task execution handler not found. Supported handlers: Node
******************************************************************************
Finishing: Upload using FTP
******************************************************************************
我尝试了一些搜索引擎,但无法找到有关此错误的任何信息,除了
抛出的代码。
因此错误告诉我,我需要一个处理程序"Node"。 ?我该怎么办?
I tried some search engines, but couldn't find any information on this error, except
the code where it is thrown.
So the error tells me, that I need a handler "Node"? What am I supposed to do?
我已经做了什么:
* sudo apt-get install -y npm
*已安装Powershell(根据https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md#ubuntu-1604)
*在所有安装后重新启动VM
What I already did:
* sudo apt-get install -y npm
* installed Powershell (according to https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md#ubuntu-1604)
* restarted VM after all the installing
我需要什么才能使任务正常工作?
What do I need to get the task working?
提前致谢,b
Michael
Thanks in advance,
Michael
推荐答案
Hello Michael,你好b
$ b感谢您与Microsoft论坛联系。我们很乐意回答您的问题。
正如您所提到的这个链接:
https://github.com/Microsoft/vsts-agent/blob/master/src/Agent.Worker/ TaskRunner.cs#L66 上面,你试过这些代码吗?它是否会抛出任何错误?
b
此外,根据
https://github.com/Microsoft/vsts-tasks/issues/2602 讨论,因为您使用的是Ubuntu,但此任务可能仅支持Windows。检查相同的链接,可能会帮助你。
问候,
Swikruti
Hello Michael,
Thank you for contacting Microsoft forums. We are pleased to answer your query.
As you have mentioned this link: https://github.com/Microsoft/vsts-agent/blob/master/src/Agent.Worker/TaskRunner.cs#L66 above, have you tried those codes? Is it throwing any error?
Also, according to https://github.com/Microsoft/vsts-tasks/issues/2602 discussion, as you are using Ubuntu but this task might be support only windows. Check the same link, might help you.
Regards,
Swikruti
这篇关于“未找到支持的任务执行处理程序”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!