On 21/01/2012, at 3:19 PM, Thomas Fox wrote:

> 
> I have some questions related to the sharing of maven artifacts between
> upstream and downstream jenkins builds
> 
> For Torque, we have a build which builds the main project (using mvn
> install) and then a test project which is intended to test the artifacts
> produced by the main build. The test project is configured as a downstream
> project of the main project. From looking at the build locations of the
> various builds, it is obvious that a downstream build is not tied to the
> same node as the upstream build.
> 
> Now to my questions:
> I assume that the local maven repository is not shared between the
> different build slaves. Is that correct?

I think so, yes.

> 
> Is it ok to use mvn deploy to share the artifacts between builds ? if yes
> to which repository will the result be deployed ?

Yes, you can deploy to either repository.apache.org or 
vmbuild.apache.org/archiva/ depending on your preference - both can be 
configured to receive artefacts from builds.a.o. You'd need to have a 
repository set up and congiure your distributionManagement appropriately.

Cheers,
Brett

--
Brett Porter
[email protected]
http://brettporter.wordpress.com/

Reply via email to