-
Bug
-
Resolution: Incomplete
-
Minor
-
None
-
Platform: All, OS: All
Under hudson version 1.329 using FindBugs 1.3.8, the source code links do not
work from within the hudson web GUI. I receive the following when clicking on a
file containing a finding:
01 hudson.util.IOException2: remote file operation failed
02 at hudson.FilePath.act(FilePath.java:672)
03 at hudson.FilePath.act(FilePath.java:660)
04 at hudson.FilePath.copyTo(FilePath.java:1272)
05 at
hudson.plugins.findbugs.util.HealthAwarePublisher.copyFilesWithAnnotationsToBuildFolder(HealthAwarePublisher.java:187)
06 at
hudson.plugins.findbugs.util.HealthAwarePublisher.perform(HealthAwarePublisher.java:144)
07 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
08 at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:501)
09 at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:487)
10 at
hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:475)
11 at hudson.model.Build$RunnerImpl.post2(Build.java:181)
12 at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:459)
13 at hudson.model.Run.run(Run.java:1143)
14 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
15 at hudson.model.ResourceController.execute(ResourceController.java:88)
16 at hudson.model.Executor.run(Executor.java:123)
17 Caused by: java.io.FileNotFoundException:
com/dilijent/util/SimpleSQLParser.java (No such file or directory)
18 at java.io.FileInputStream.open(Native Method)
19 at java.io.FileInputStream.<init>(FileInputStream.java:106)
20 at hudson.FilePath$30.invoke(FilePath.java:1276)
21 at hudson.FilePath$30.invoke(FilePath.java:1272)
22 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2052)
23 at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
24 at hudson.FilePath.act(FilePath.java:667)
25 ... 14 more
26 Can't copy file from workspace to build folder:
workspace=com/dilijent/util/SimpleSQLParser.java, build
folder=/home/op/.hudson/jobs/ToolBox/builds/2009-10-21_15-01-11/workspace-files/fb403284.tmp
I use the following ant target to execute FindBugs:
<!--
Performs static code analysis using the the FOSS FindBugs application.
Hudson has a plugin that reads the output produced by FindBugs.
-->
<target name="static-test" depends="build-all">
<exec executable="${findbugs.home}/bin/findbugs" failonerror="true"
dir="${basedir}">
<arg value="-textui"/>
<arg value="-xml"/>
<arg line="-auxclasspath ${toString:web-app-libs}"/>
<arg line="-auxclasspath ${toString:build-support-libs}"/>
<arg line="-output ${dist.dir}/findbugs.xml"/>
<!-- <arg line="-effort:max" /> -->
<arg line="-nested:false"/>
<arg line="onlyAnalyze com.dilijent.op.persistence."/>
<arg value="${classes.dir}"/>
</exec>
</target>