-
New Feature
-
Resolution: Fixed
-
Minor
-
None
Disclaimer: I have already posted this issue as a question on Stackoverflow, but unfortunately got no feedback there.
Unfortunately, although the warnings are collected and displayed, I cannot trace them back to the source code. The overview shows the correct file path and the file still exists in the file system after the build.
When I click on the file to investigate the individual issues, the filename and line are displayed, but I can't click on it to look at the location in the code.
According to the plugin's documentation, warnings should actually also be displayed in the code if they affect a specific line, for example.
I'm using the iar and the iarCstat plugin like this:
success { dir("${BUILD_DIR}") { recordIssues( tools: [ iar(), iarCstat(pattern: "${BUILD_DIR}\\cstat\\cstat_log.txt") ] ) } }
Can anyone tell me if I am using the plugin incorrectly or if this problem is known? I could not find anything about it...
- is blocked by
-
JENKINS-66810 Use case insensitive matching on Windows
-
- Open
-
- links to
[JENKINS-66687] Warnings not showed in file when case insensitive path is provided
Attachment | New: Selection_20210923_01.png [ 56334 ] |
Attachment | Original: Selection_20210923_01.png [ 56334 ] |
Files are only shown if they could be found. Most compilers report warnings with absolute paths but some do not. What does the Jenkins console log of your build report? There should be some warnings about files that could not be found. In the build overview there is also an exclamation mark icon right after the warnings summary that navigates to the log messages.