【发布时间】:2017-11-21 10:39:05
【问题描述】:
尝试在 VSTS 上通过代码推送发布时出现以下错误:
无法在 CWD 中找到或读取“config.xml”。 "release-cordova" 命令必须在 Cordova 项目文件夹中执行
2017-11-21T09:22:35.1120732Z [Error] Unable to find or read "config.xml" in the CWD. The "release-cordova" command must be executed in a Cordova project folder.
2017-11-21T09:22:35.1200947Z ##[debug]Finished Building Command: node d:\a\_tasks\CodePushReleaseCordova_f5990527-f512-4c14-9f8e-1254240dc3cb\1.0.5\node_modules\code-push-cli\script\cli logout
2017-11-21T09:22:36.2276558Z ##[debug]task result: Failed
2017-11-21T09:22:36.2295997Z Command failed: release-cordova
2017-11-21T09:22:36.2326120Z ##[debug]Processed: ##vso[task.complete result=Failed;]Command failed: release-cordova
问题截图如下:
详细日志:https://drive.google.com/open?id=1SMk0N47A8OGm5PDUk5e86sPygmMAjD5X
【问题讨论】:
标签: android cordova tfs azure-devops