I want, for unchanged parts of the project, to reuse artifacts produced by previous builds, and only rebuild the changed parts.
Imagine a project with hundreds of modules stored in a single git repository, whose full build with tests takes 3 hours. A developer creates a ticket branch, changes couple lines and pushes the branch to the repository. CI build starts. I wish at this point only parts affected by the change to be rebuild. And artifacts for unaffected modules simply be fetched from artifacts repository (because previous builds placed them there). Speaking of http://maven.apache.org/maven-ci-friendly.html, if that means incorporating git commit into the version of all modules, then all modules will be rebuilt in the above scenario, even unaffected ones, because the new branch has a new git commit. Is it correct? Best regards, - Anton --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
