小编rv2*_*2rx的帖子

如何使 cpplint 与 Jenkins 警告插件一起工作

我在 Jenkins 中添加了一个“执行 shell”构建步骤来运行 cpplint.py

python /var/lib/jenkins/scripts/cpplint.py --counting=detailed `find path -name *.cpp
Run Code Online (Sandbox Code Playgroud)

我还添加了“扫描编译器警告”并添加了 CppLint。

然而,即使它在控制台输出中显示一些警告,它也总是得到 0 个警告,例如

filename.cpp:18:  Missing space after ,  [whitespace/comma] [3]
Run Code Online (Sandbox Code Playgroud)

lint compiler-warnings jenkins cpplint

2
推荐指数
1
解决办法
4568
查看次数

标签 统计

compiler-warnings ×1

cpplint ×1

jenkins ×1

lint ×1