我有一个 TeamCity 构建配置,其中包括以下发布工件:
Source\Builder\bin\Release\*.dll=>release
这很好用,但是我想排除一个 dll(有很多),并且读过您可以使用 + & - 运算符来执行此操作。类似于以下内容:
+: Source\Builder\bin\Release\*.dll=>release
-: Source\Builder\bin\Release\Builder.*
一旦我添加了这些,就不会发布任何工件,并且我在构建日志中收到以下错误(看起来它正在将 + 计为路径的一部分):
[Publishing artifacts] Collecting files to publish [+:Source\Builder\bin\Release\*.dll=>release]
[Publishing artifacts] Artifacts path +:Source/Builder/bin/Release/*.dll not found
我正在使用 7.1.1 版,任何人都有任何想法(我不确定这些运算符是否有效)。我已经看到了一个 MSBuild 的解决方案,但很惊讶这个功能不可用。
提前致谢。