【发布时间】:2014-05-12 04:45:22
【问题描述】:
请帮忙。当我在终端中运行命令gradle lint 时,我看到以下输出:
:facebook:lint
Ran lint on variant release: 65 issues found
Ran lint on variant debug: 65 issues found
Wrote HTML report to file:new/facebook/build/lint-results.html
Wrote XML report to new\facebook\build\lint-results.xml
:msmandroidapp:lint
Ran lint on variant release: 71 issues found
Ran lint on variant debug: 71 issues found
Wrote HTML report to file:new/msmandroidapp/build/l
int-results.html
Wrote XML report to new\msmandroidapp\build\lint-results.xml
:ringprogress:lint
Ran lint on variant release: 4 issues found
Ran lint on variant debug: 4 issues found
Wrote HTML report to file: new/ringprogress/ringprogress/build/lint-results.html
Wrote XML report to new\ringprogress\ringprogress\build\lint-results.xml
我只关心:msmandroidapp:lint 结果。它显示71 issues found。
但是,当我从 Jenkins 运行相同的程序时,我发现为 :msmandroidapp:lint(仅 67 个)检测到 less 个问题。我查看了报告,发现在报告中我也有 67 个问题。 html报告的sn-p如下:
Lint Report
Check performed at Tue Apr 01 14:35:13 FET 2014.
8 errors and 59 warnings found:
那么,检测到的问题数量的差异来自哪里?也许它们被其他项目覆盖了?
【问题讨论】:
标签: android xml jenkins gradle lint