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

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

    Details

    • Similar Issues:

      Description

      (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.

        Attachments

          Issue Links

            Activity

            Hide
            kutzi kutzi added a comment -

            Will be in 1.44

            Show
            kutzi kutzi added a comment - Will be in 1.44
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephan Pauxberger
            Path:
            src/test/java/hudson/scm/SubversionSCMTest.java
            http://jenkins-ci.org/commit/subversion-plugin/a4b1b19f49a1c028cd07d0a4e92ec3be17687351
            Log:
            Corrected Unit Tests for JENKINS-14685

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephan Pauxberger Path: src/test/java/hudson/scm/SubversionSCMTest.java http://jenkins-ci.org/commit/subversion-plugin/a4b1b19f49a1c028cd07d0a4e92ec3be17687351 Log: Corrected Unit Tests for JENKINS-14685
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Christoph Kutzinski
            Path:
            src/test/java/hudson/scm/SubversionSCMTest.java
            http://jenkins-ci.org/commit/subversion-plugin/a169a06ec7c551052e5376dfbf3c9f593523645d
            Log:
            Merge pull request #31 from pauxus/JENKINS-14685-fixed-testcases

            Corrected Unit Tests for JENKINS-14685

            Compare: https://github.com/jenkinsci/subversion-plugin/compare/e23fff3db379...a169a06ec7c5

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Christoph Kutzinski Path: src/test/java/hudson/scm/SubversionSCMTest.java http://jenkins-ci.org/commit/subversion-plugin/a169a06ec7c551052e5376dfbf3c9f593523645d Log: Merge pull request #31 from pauxus/ JENKINS-14685 -fixed-testcases Corrected Unit Tests for JENKINS-14685 Compare: https://github.com/jenkinsci/subversion-plugin/compare/e23fff3db379...a169a06ec7c5

              People

              • Assignee:
                Unassigned
                Reporter:
                paux Stephan Pauxberger
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: