将 rake 与 Teamcity 结合使用会出现 RegexError
每次我尝试使用 team city 使用 rake 构建 .NET 解决方案时,我都会收到相同的
"Format_exception_msg : Invalid escape character syntax: /path to rakefile/ (RegexError)
结果我的自然假设是我的 rake 代码中的某个位置实际上有一个无效的转义字符,我承认我从未使用过 ruby 或rake 之前,但脚本本身执行没有问题,并且在不使用 teamcity 的情况下在命令行上执行时表现得像应该的那样。
此外,我慢慢地检查了代码,注释掉了行,以尝试缩小无效字符可能所在的范围,并且即使完全注释掉了 rake 文件,团队城市进程仍然会失败。
感谢您的帮助,如果需要更多信息,请告诉我。
Every time that I try use team city to build a .NET solution using rake I receive the same
"Format_exception_msg : Invalid escape character syntax: /path to rakefile/ (RegexError)
My natural assumption would be that I have in fact a invalid escape character somewhere in my rake code, I admit that I've never used ruby or rake before, but the script itself executes without problems and behaves as it should when executed on the command line without the use of teamcity.
Furthermore, I went through my code slowly commenting out lines to try to narrow down where the invalid character could be and the team city process continuted to fail even with a completely commented out rake file.
Thanks for the help, let me know if more information is needed.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论