TeamCity通过工件路径将fxcop和coverage报告到构建工件中
|
我正在尝试获取fxCop结果xml和coveragereport.xml,以在构建后发布到工件。
以下是我现在所拥有的,
%system.teamcity.build.tempDir%/fxcop-output*/fxcop-result.xml => BuildLog/FxCop
%system.teamcity.build.tempDir%/teamcity*ncover/CoverageReport.xml => BuildLog/Coverage
但是结果目录具有以下格式
BuildLog --> Coverage --> teamcity8681981431807223307ncover --> CoverageReport.xml
BuildLog --> FxCop --> fxcop-output-3810116228914218788 --> fxcop-result.xml
我很好奇在没有包含文件夹结构的情况下如何使它像下面这样。
BuildLog --> Coverage --> CoverageReport.xml
BuildLog --> FxCop --> fxcop-result.xml
谢谢
没有找到相关结果
已邀请:
1 个回复
埃庐
最后,在执行了分析构建步骤之后,可以使用带有MSBuild构建运行器的TeamCity构建步骤在此脚本中启动msbuild目标\“ PublishArtifacts \”。