I would suggest that you pipe the output of the pclint command through a small 
script that removes the Z: from the filenames.

(Or you can use a custom parser that basically does the same as the pclint 
parser and remove the Z: prefix there)

Ulli
 
Am 15.01.2014 um 15:51 schrieb Stijn <stijn.deroovanma...@gmail.com>:

> Hi,
> 
> I'm using pclint together with jenkins warnings plugin on linux.  However, 
> pclint is a windows executable executed by wine.  Therefore, the output of 
> pclint is something like 
> Z:\media\Data\workspace\pr_7315\app\common\logging\src\logger.c(91): Note 
> 956: Non const, non volatile static or external variable 'log_parse_succeeded'
> 
> Z: doesn't exist on a linux system, so Z: should be the \ path instead.
> 
> The warnings plugin gives following error:
> 01 Copying the source file 
> 'Z:/media/Data/workspace/pr_7315/app/drivers/io/src/io_rm_7358.c' from the 
> workspace to the build folder 
> '/var/lib/jenkins/jobs/pr_7315/builds/2014-01-15_14-50-21/workspace-files/aa97a26a.tmp'
>  on the Jenkins master failed.
> 02 Is the file 
> 'Z:/media/Data/workspace/pr_7315/app/drivers/io/src/io_rm_7358.c' a valid 
> filename?
> 03 If you are building on a slave: please check if the file is accessible 
> under 
> '$JENKINS_HOME/[job-name]/Z:/media/Data/workspace/pr_7315/app/drivers/io/src/io_rm_7358.c'
> 04 If you are building on the master: please check if the file is accessible 
> under 
> '$JENKINS_HOME/[job-name]/workspace/Z:/media/Data/workspace/pr_7315/app/drivers/io/src/io_rm_7358.c'
> 05 java.io.FileNotFoundException: 
> Z:/media/Data/workspace/pr_7315/app/drivers/io/src/io_rm_7358.c (No such file 
> or directory)
> 06   at java.io.FileInputStream.open(Native Method)
> 07   at java.io.FileInputStream.<init>(FileInputStream.java:137)
> 08   at hudson.FilePath$37.invoke(FilePath.java:1814)
> 09   at hudson.FilePath$37.invoke(FilePath.java:1809)
> 10   at hudson.FilePath.act(FilePath.java:914)
> 11   at hudson.FilePath.act(FilePath.java:887)
> 12   at hudson.FilePath.copyTo(FilePath.java:1809)
> 13   at 
> hudson.plugins.analysis.core.HealthAwareRecorder.copyFilesWithAnnotationsToBuildFolder(HealthAwareRecorder.java:398)
> 14   at 
> hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:334)
> 15   at 
> hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:333)
> 16   at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
> 17   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785)
> 18   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757)
> 19   at hudson.model.Build$BuildExecution.post2(Build.java:183)
> 20   at 
> hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706)
> 21   at hudson.model.Run.execute(Run.java:1703)
> 22   at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
> 23   at hudson.model.ResourceController.execute(ResourceController.java:88)
> 24   at hudson.model.Executor.run(Executor.java:231)
> 
> 
> Any idea how to solve this?
> 
> KR,
> Stijn.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to