TeamCity 找不到 NAnt
我正在尝试从 TeamCity 调用 NAnt 脚本,但遇到了一些对我来说毫无意义的事情。
我已经从命令行测试了 NAnt 脚本,它运行得很好。
我已在 TeamCity 中配置了 NAnt 构建运行程序,当我运行它时,出现以下错误:
Step 3/3
The following paths do not contain NAnt:
C:\nant\bin
C:\TeamCity6\buildAgent\work\59c8c293c5dec971\C:\nant\bin
Please check "NAnt home" parameter at the build runner settings page
我已多次检查 NAnt 可执行文件是否驻留在 C:\nant\bin 中
我是否缺少某些内容?
I am trying to call a NAnt script from TeamCity, but I'm encountering something that makes no sense to me.
I've tested the NAnt script from the command line and it works perfectly.
I've configured the NAnt build runner in TeamCity, and when I run it, I get the following error:
Step 3/3
The following paths do not contain NAnt:
C:\nant\bin
C:\TeamCity6\buildAgent\work\59c8c293c5dec971\C:\nant\bin
Please check "NAnt home" parameter at the build runner settings page
I've checked many times that the NAnt executable resides in C:\nant\bin
Am I missing something?
检查以确保 team city 正在运行的用户有权访问该文件...
Check to make sure the user that team city is running as has permission to that file...