[ 
https://issues.apache.org/jira/browse/SLING-6061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15535848#comment-15535848
 ] 

Robert Munteanu commented on SLING-6061:
----------------------------------------

Definitely, I intend to do the same for contrib and samples.

I am waiting to make sure the current setup is 100% correct before moving to 
samples and contrib. I think I still have some launchpad dependencies I need to 
manually define ( e.g. launchpad/test-services -> launchpad/testing ) and also 
the testing and testing-war jobs are not stable yet.

For now I don't plan on splitting the tooling/maven part as it's relatively 
quick ( 7 minutes ). But of course we can do that if we decide to.

> Create per-module Jenkins jobs
> ------------------------------
>
>                 Key: SLING-6061
>                 URL: https://issues.apache.org/jira/browse/SLING-6061
>             Project: Sling
>          Issue Type: Improvement
>          Components: General
>            Reporter: Robert Munteanu
>            Assignee: Robert Munteanu
>
> As discussed on [dev@sling: CI alternatives for 
> Sling|http://markmail.org/message/mdn4anwe6kxqxa2z] we should investigate 
> generating per-module builds instead of having 'full' builds.
> The reason is that our currently large builds are slow and feedback is 
> useless since most of the times at least one module is failing.
> We will first prototype a build using the Jenkins [Job DSL 
> Plugin|https://wiki.jenkins-ci.org/display/JENKINS/Job+DSL+Plugin], which 
> will allow us to programatically define what build jobs are generated and 
> their configuration.
> The proposed approach is to gradually transfer project from a large job to 
> per-module jobs, using the following mechanism ( details to be filled in ):
> * create a mechanism which will allow us to skip building some modules on 
> Jenkins
> * create a Jenkins DSL Job config in SVN which will generate builds for 
> specific modules ( the i18n module is a good candidate, since it is flaky on 
> Jenkins recently )
> * exclude the 'modularised' build modules from the main build
> In time, we will move out all bundle modules from the current reactor and we 
> should have the following main classes of build jobs:
> * bundles
> * launchpads ( main, contrib, etc )
> * utility modules ( testing )
> * integration tests
> * tooling/maven
> * tooling/ide
> Note that this does not exclude 'bigger' modules like for instance Sightly 
> which contain bundles, content and integration tests. At first I'd like to 
> get a feel of what solution is best for us.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to