I'm trying to set up our build process in hudson.
Job 1 will be a super fast (hopefully) continuous integration build job that will be built frequently.
Job 2, will be responsible for running a comprehensive test suite, at a regular interval or triggered manually.
Job 3 will be responsible for running analysis tools across the codebase (much like Job 2).
I tried using the "Advanced Projects Options > use custom workspace" feature so that code compiled in Job 1 can be used in Job 2 and 3. However, it seems that all build artifacts remain inside that Job 1 workspace. I'm I doing this right? Is there a better way of doing this? I guess I'm looking for something similar to a build pipeline setup...so that things can be shared and the appropriate jobs can be executed in stages.
(I also considered using 'batch tasks'...but it seems like those can't be scheduled? only triggered manually?)
Any suggestions are welcomed. Thanks!
You might want to try the Copy Artifact plugin:
http://wiki.hudson-ci.org/display/HUDSON/Copy+Artifact+Plugin
Your continuous job can build the necessary artifacts, and your other two jobs can pull them in to do analysis.