The most straightforward way is to run the findbug analysis in the same job. Why does it need to be run in its own job?
Jenkins jobs are not as flexible as subroutines in programming languages. If you start using them as such, you will shoot yourself in the foot. -- Sami intelchen <bihang.c...@gmail.com> kirjoitti 16.3.2012 kello 9.28: > Sorry for a uncompleted mail. > And I would like to copy the findbug_result.xml back to the workspaces of the > first job. > I think there would be a way to do that is write some shell scripts and copy > this result back to the former job. > But is there any other solution or existed plug-ins for this requirement? > May I have your ideas? Thanks! > > On Friday, March 16, 2012 3:23:30 PM UTC+8, intelchen wrote: > Hi all, > There are two stage jobs for one java project. > One is to do compilation job and create a runtime jar file after polling > codes from SCM. > Second one is to do findbug analysis job. It copy artifact(runtime jar file) > from upstream using Copy Artifact Plugin. And there would be a > findbug_result.xml generated after this job. >