Common setups are: 1. One Git repository and one build 2. Multiple Git repositories and multiple builds, exchanging artifacts through a repository manager (e.g. Artifactory) 3. Multiple Git repositories tied together with Git submodules and one build
We have ideas for supporting builds that span multiple repositories, but nothing has materialized yet. My advice is to only go multi-repository if the projects have different development/release lifecycles or if there is another pressing need. In any case, having multiple repositories will increase complexity. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw Ansgar Brauner wrote: > > Hi all, > > I just manged to get my first multiproject build running (2 Jars, 3 > Wars => 1 Ear). I used milestone-4 and everything works well. I wonder > if someone of you already integrated this kind of setup with > Jenkins/Hudson. > What I do not have at the moment is a artefact repository. So I have > to reference the projects on their own within Jenkins/Hudson. > The code is hosted in different git-repositories. Does anyone have > experience with this kind of setup? > > The main question is: What structure to checkout in jenkins to build > the multi-project build. > > Project Setup at the moment: > > ear // Superproject (build.gradle, settings.gradle) > - Jar 1 (build.gradle) > - Jar 2 (build.gradle) > - war 1 (build.gradle) > - war 2 (build.gradle) > - war 3 (build.gradle) > > the War's depend on the Jar's and Jar 2 depends on Jar 1. > > Problems I see: > - Git Submodules are always related to a specific commit ID and needs > a lot of maintenance. > - The Super-Project needs to be a top-directory of sub-projects? > (Jenkins Directory Structure) > - How to reference the Projects within Jenkins, and without having an > artefact repository in place. > > > Kind regards > > Ansgar > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > -- View this message in context: http://gradle.1045684.n5.nabble.com/Multiproject-Build-GIT-Based-and-Jenkins-tp4658141p4658591.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
