我有一个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的解决方案,但很惊讶为什么这个功能不可用。
提前致谢。