-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 1.423, Warnings plugin 3.20
I get the following error when trying to view the source of a compiler warning:
01 Copying the source file 'main.c' from the workspace to the build folder '/var/lib/jenkins/home/jobs/Job Clean Build/builds/2011-08-05_00-04-13/workspace-files/bf88816e.tmp' on the Hudson master failed. 02 Seems that the path is relative, however an absolute path is required when copying the sources. 03 Is the file 'main.c' contained more than once in your workspace? 04 Is the file 'main.c' a valid filename? 05 If you are building on a slave: please check if the file is accessible under '$HUDSON_HOME/[job-name]/main.c' 06 If you are building on the master: please check if the file is accessible under '$HUDSON_HOME/[job-name]/workspace/main.c' 07 hudson.util.IOException2: remote file operation failed: main.c at hudson.remoting.LocalChannel@1eac6995 08 at hudson.FilePath.act(FilePath.java:754) 09 at hudson.FilePath.act(FilePath.java:740) 10 at hudson.FilePath.copyTo(FilePath.java:1410) 11 at hudson.plugins.analysis.core.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:354) 12 at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:316) 13 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 14 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682) 15 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657) 16 at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:635) 17 at hudson.model.Build$RunnerImpl.post2(Build.java:161) 18 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) 19 at hudson.model.Run.run(Run.java:1400) 20 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 21 at hudson.model.ResourceController.execute(ResourceController.java:88) 22 at hudson.model.Executor.run(Executor.java:175) 23 Caused by: java.io.FileNotFoundException: main.c (No such file or directory) 24 at java.io.FileInputStream.open(Native Method) 25 at java.io.FileInputStream.<init>(FileInputStream.java:120) 26 at hudson.FilePath$30.invoke(FilePath.java:1414) 27 at hudson.FilePath$30.invoke(FilePath.java:1410) 28 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1980) 29 at hudson.remoting.LocalChannel.call(LocalChannel.java:45) 30 at hudson.FilePath.act(FilePath.java:747) 31 ... 14 more
This job uses a custom workspace dir so maybe the plugin doesn't support that?
- is blocking
-
JENKINS-10097 Job stuck in a dead lock when running warning plugin
-
- Resolved
-
- is related to
-
JENKINS-14024 Disable resolving relative to absolute paths
-
- Closed
-
-
JENKINS-14064 Use make output to map relative paths to absolute paths
-
- Resolved
-
From examining my log files it looks like it parses the paths correctly, but if the code expects all file names to be unique in the workspace then it wont work.
I think it would be a big help to clarify this detail to the user since I don't think it is uncommon to have duplicate filenames on a per workspace basis.