-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jenkins is not reporting cppcheck failures #446
Comments
One thing to keep in mind is that we're also running cppcheck on GitHub actions, and if the cppcheck version is different between actions and Jenkins, it may be impossible to satisfy both at the same time. So I think we should consider only running cppcheck in one place. The downside of actions is that the reports are hard to read. The downsides of Jenkins are this issue and also #148. |
I used ign-physics as an example because it has a relatively small number of errors, but this affects |
I just noticed this again. It's confusing to have How about we only run it if the file exists? This would allow us to remove it from Ignition while maintaining it on classic.
Come to think of it, I don't think this is a big deal, because it's not like we have flaky warnings whose history we want to check. We've been keeping the builds free of static warnings since that turns Actions red, so I think that just reading the logs has been working out. |
sure, let's update the logic and delete |
I opened gazebosim/gz-math#211 to test removing it and #455 to update the logic.
|
The Ubuntu jenkins builds are configured in dsl to report cppcheck errors by default, and I can see the xml files generated in the workspace of several jobs that includes some errors, but these are not reported by jenkins in the summary of that job. For example, the following job has errors in the
cpplint.xml
but does not report these error in the job summary, and is marked as a clean build:The text was updated successfully, but these errors were encountered: