Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14685

Subversion Plugin should be able to ignore property only commits (eps. Mergeinfos)


    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • subversion-plugin
    • None

      (I already created a pull request for this: https://github.com/jenkinsci/subversion-plugin/pull/14, this issue is just to keep track of it)

      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.

      Subversion plugin should be able to exclude property-only changes on directories from:

      • the SCM-Polling (i.e. a change that only consists of property changes on directories does not result in a new build)
      • the changelog used by MavenModuleSet (or Ivy) when calculating the changed modules of a new revision.

      A changed path is considered Property Only when it consists of a "M"odified Action on a directory.

            Unassigned Unassigned
            paux Stephan Pauxberger
            0 Vote for this issue
            4 Start watching this issue