I have a project A that is dependent on other projects B,C,D.
If A changes then I want A to be built (Done)
Now if B,C or D changes I want them (the ones that changed) to be built then their binaries must be copied to A and then A must be built.
I am using the artifact plugin to copy the binaries but I do not store the bin folders in my SCM (subversion).
How do I setup my “Artifacts to copy” and “target location” boxes.
You can use the
Build triggersinside theproject Aconfig. You can check theBuild after other projects are builtspecifying theB,CandDprojects.Then you can add a step in the
project Abuild process, adding acommandyou can execute ashell scriptcopying the needed files from projectsB,CandDinside theproject Ajust before the build starts.