I am playing with Jenkins (which seems really cool) and have a
question on coordinating Post-build actions, for example "Publish
FindBugs analysis results".

I started this project in Eclipse and the code resides in the
directory eclipsestuff/workspace/project (not the real name).  The
code is also checked into SVN.  When I update a file, this correctly
triggers a build.  In my build.xml file there is the FindBugs task,
which creates an output file of "output.xml".  From within Eclipse, it
all works fine.

Now, when I set up the project in Jenkins, I have to enter something
for the "FindBugs results" file.  And, more specifically, that file
name has to be in my "Jenkins workspace", which is pulled from SVN (or
at least I couldn't find a way to specify a path to eclipsestuff/
workspace/project/output.xml).  So I think that my output.xml results
need to get checked into SVN so that Jenkins can then pull them back
out to do the FindBugs analysis.  But that doesn't seem right either.

I "solved" this by having the ant task (inside my build.xml) create
the output.xml in trunk/Project/output.xml.  But that seems somehow
wrong.

Before I apply this "solution" to checkstyle and Junit, I thought I
should check in and get some advice.  I have a feeling I am missing
something very obvious.  (My question seems a little similar to
http://groups.google.com/group/jenkinsci-users/browse_thread/thread/b45e9f16e6215b74/c8f7f9ab6efeeb2e?lnk=gst&q=workspace+root#c8f7f9ab6efeeb2e,
but even simpler).

Thanks!!!
RB

Reply via email to