-
Notifications
You must be signed in to change notification settings - Fork 39
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
cpplint parser does not recognize any violations #35
Comments
Perhaps with pattern |
The configuration
So first configuration seems to find the file, but cannot find any violations. The file cpplint-result.xml begins with:
Maybe this might be a problem, because in the test file lines as the first are only stated after the violations. |
I added a test case: The file can be parsed and pattern I can't figure out what the your file |
There is no such file
If this is also no problem, I would send the ouput via mail as the next step. |
Ok send the output!
Den fre 13 apr. 2018 14:22stoesselt <[email protected]> skrev:
… There is no such file sed1XSuFS in the whole output and not in the
workspace. It is only a guess, but is this line also parsed correctly?
Maybe problems with number and non letters in the file path?
pump/src/hal/stm32f4xx/devices/display/s1d13781_blt.c:221: Tab found; better to use spaces [whitespace/tab] [1]
pump/src/hal/stm32f4xx/devices/display/s1d13781-blt.c:221: Tab found; better to use spaces [whitespace/tab] [1]
If this is also no problem, I would send the ouput via mail as the next
step.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAa1E59fPESvT-wh0JkLO1PVr7Ldm_TFks5toJiCgaJpZM4TQI-d>
.
|
It works now! To be honest, I don't know why.
(Hopefully most warnings come from auto-generated files. ^^) I have just given it a another try, after you added the test case. I did a little change in the Jenkinsfile and it worked. I reverted that change, retested it and it still works, so the change cannot be the reason. Anyway, there might be the risk that it stops working as suddenly as it started, but for now, I am happy ;-) Thank you very much for your excellent and quick support. |
great! |
Hi, I use the Violations Comments to Bitbucket Server plug-in with cpplint. However, the plug-in does not find any violations. Below the configuration:
The file 'cpplint-result.xml' is located directly in the workspace. Content of the file is similar to the test file (https://github.com/tomasbjerre/violations-lib/blob/master/src/test/resources/cpplint/cpplint.txt):
The paths are relative to the workspace. Any idea what the problem might be?
The text was updated successfully, but these errors were encountered: