我使用的是 TeamCity Professional 7.0.2(版本 21349),并添加了 Inspections (.NET) 运行程序(用于收集 JetBrains ReSharper 检查结果的运行程序)作为构建步骤。
解决方案文件路径是必填字段,according to the current documentation ,这是“.sln 文件的路径。指定的路径应相对于 checkout 目录。”
我有多个解决方案(超过 20 个),因此尝试了 *.sln
但失败了(我想这是预料之中的)。
[16:33:17]Step 5/5: ReSharper Inspections (Inspections (.NET)) (1m:17s)
[16:34:32][Step 5/5] Invalid char '*' in path *.sln
[16:34:34][Step 5/5] Inspections (.NET) execution failure
[16:34:34][Step 5/5] Step ReSharper Inspections (Inspections (.NET)) failed
我想知道是否有人知道解决方法?
最佳答案
JetBrains 的回应:
The only workaround now is to define several build steps, one per each solution.
关于.net - 如何为多个解决方案配置 TeamCity Inspections (.NET) Runner,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10177808/