| An example MSBuild warning is:
c:\jenkins\workspace\zodiac_visualstudio_athena_release_only\starlibs\stdstars\firfilter.h(105): warning C4244: 'argument': conversion from 'TCoeffs' to 'const ...
Warnings NG reports the warning but provides no link to the file: Here is the Warnings NG log:
Information Messages
Parsing console log (workspace: 'c:\jenkins\workspace\Zodiac_VisualStudio_Athena_release_Only')
Post processing issues on 'jenkinswin10' with source code encoding 'UTF-8'
Resolving absolute file names for all issues in workspace 'c:\jenkins\workspace\Zodiac_VisualStudio_Athena_release_Only'
-> 10 resolved, 0 unresolved, 0 already resolved
Resolving module names from module definitions (build.xml, pom.xml, or Manifest.mf files)
-> resolved module names for 15 issues
Resolving package names (or namespaces) by parsing the affected files
-> resolved package names of 10 affected files
No filter has been set, publishing all 15 issues
Creating fingerprints for all affected code blocks to track issues over different builds
-> created fingerprints for 15 issues
Skipping blaming as requested in the job configuration
Copying affected files to Jenkins' build folder '/var/lib/jenkins/jobs/Zodiac_VisualStudio_Athena_release_Only/builds/110/files-with-issues'
-> 0 copied, 10 not in workspace, 0 not-found, 0 with I/O error
Using reference build 'Zodiac_VisualStudio_Athena_release_Only #109' to compute new, fixed, and outstanding issues
Issues delta (vs. reference build): outstanding: 15, new: 0, fixed: 3
No quality gates have been set - skipping
Health report is disabled - skipping
The actual file path is:
C:\jenkins\workspace\Zodiac_VisualStudio_Athena_release_Only\StarLibs\StdStars\FirFilter.h
A similar problem was reported in the Sonar community: https://github.com/SonarOpenCommunity/sonar-cxx/issues/1651 It seems that 'MSBuild creates always lower case paths.' Ullrich wrote on Gitter:
Maybe an option would be to detect the OS and use an ignore-case option when trying to resolve the file names.
|