Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Ignore Commits only consisting of changed properties on dirs. #14
This is useful for Incremental Builds in Maven in a branch that is target of merges (i.e.: trunk). Without that this modification consider a project of 100 modules. Every merge (even a "block-revision" merge, that doesn't change any files) changes the top directory of the project (svn:mergeinfo), i.e. from the perspective of Jenkins, the aggregator project has changed (which is usually inherited by all modules). Jenkins thus includes the aggregator in the list of changed modules and ALL modules are build.
When doing frequent merges this results in continual rebuild of the whole project, totally negating the advantages of incremental builds.
This pull request allows to exclude property-only changes on directories from:
A changed path is considered Property Only when it consists of a "M"odified Action on a directory.
- introduced a new property (checkbox) - changed XMLParser to include "kind" attribute into changelog - paths containing kind:dir and action:M (which must be a property change) are ignored during notifyCommit and not part of SCM.ChangeLog, i.e. they are ignored in Maven Builds.
What should be fixed here?
Created https://issues.jenkins-ci.org/browse/JENKINS-14685 for this pull request.