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?

Is it ok to use mvn deploy to share the artifacts between builds ? if yes
to which repository will the result be deployed ? If not, is there any way
to lock the downstream build to the same node as the upstream build ?

   Thanks in advance,

     Thomas

Reply via email to