VSTS release level “Windows PowerShell Cannot Run Script Whose Path Contains Spaces”
我在VSTS上开发DevOps。当前,我使用" PowerShell"任务来运行PowerShell脚本。但是很不幸,我的VSTS储存库名称有空格(例如" WebApp Demo"),这就是为什么我在VSTS发行版级别执行PowerShell脚本时遇到问题。
[error] Process completed with exit code 0 and had 1 error(s) written
to the error stream.
VSTS版本定义中的PowerShell任务配置
为解决上述错误,我关注了很多博客,但问题仍然相同。
基于日志,您ConfigFilePath的值是包含空间的路径。
将参数更改为: