Hyperlinks for Cfile names is not working from GHS warnings details
This post has NOT been accepted by the mailing list yet.
I am currently using Jenkins version 1.546. I have installed Warnings plug-in v4.43 and configured a job to generate warnings using GHS Multicore parser. After the job execution was completed, The Warnings plugin is displaying the number of GHS warnings along with the fixed warnings. The only problem that i am facing with warnings plug-in is that it is not showing the file details(filename) which contains the warnings. It is only showing the line number where the warning occurs in a cfile along with the warning message. Please check the attached image for more details. When i click on the hyperlink for the cfile name, it was showing an error message as shown below.
01 Copying the source file 'c"' from the workspace to the build folder 'C:\Users\bna3si\.jenkins\jobs\BNA3_PRQA\builds\2015-07-23_11-19-12\workspace-files\c1f.tmp' on the Jenkins master failed.
02 Seems that the path is relative, however an absolute path is required when copying the sources.
03 Is the file 'c"' contained more than once in your workspace?
04 Is the file 'c"' a valid filename?
05 If you are building on a slave: please check if the file is accessible under '$JENKINS_HOME/[job-name]/c"'
06 If you are building on the master: please check if the file is accessible under '$JENKINS_HOME/[job-name]/workspace/c"'
07 java.io.FileNotFoundException: c" (The filename, directory name, or volume label syntax is incorrect)
08 at java.io.FileInputStream.open(Native Method)
09 at java.io.FileInputStream.(Unknown Source)
10 at hudson.FilePath$37.invoke(FilePath.java:1814)
11 at hudson.FilePath$37.invoke(FilePath.java:1809)
12 at hudson.FilePath.act(FilePath.java:914)
13 at hudson.FilePath.act(FilePath.java:887)
14 at hudson.FilePath.copyTo(FilePath.java:1809)
15 at hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:384)
16 at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:335)
17 at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:319)
18 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
19 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
20 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
21 at hudson.model.Build$BuildExecution.post2(Build.java:183)
22 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
23 at hudson.model.Run.execute(Run.java:1703)
24 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
25 at hudson.model.ResourceController.execute(ResourceController.java:88)
26 at hudson.model.Executor.run(Executor.java:231)
Please let me know whether i am missing any configuration settings. The jenkins job was configured as "Scan console LoG". Please also let me know if i need to update Jenkins/Warnings Plugin to resolve this error.
Thanks in advance.