• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • other
    • None
    • Platform: All, OS: All

      The subcomponent for this enhancement should really be SCM, but I didn't see
      that option :/

      Please note:
      The enhancement below is best suited for "Latest" type builds. That is, builds
      that are run to make sure that when a projected is checked out from an SCM that
      it will always result in a SUCCESSFUL build.

      Description:
      Please see http://www.nabble.com/Excludes-List-tf4488311.html#a12855652 for full
      description.

      "Better SCM polling support that doesn't trigger a build for changes in certain
      regions"

      On a Job by Job level, have an "Excludes List/Region" under the "Build Triggers"
      that would specify files/folders that are irrelevant from the build's status
      (success or failure).

      For instance if you are running an apache webserver and have virtual-host
      definitions that redirect static content to a folder outside the application
      war/ear file, all static content becomes irrelevant to the status of a build,
      thus Hudson should not have to build the job if the only thing that has been
      updated in the SCM is static content.

      Another example is *.sql scripts. If your build process does not automatically
      run these scripts, then they become irrelevant to the build's status (success or
      failure). If one of these *.sql scripts is modified, it will not effect the
      build directly, thus Hudson should not schedule and run a build for it.

      This would save Hudson from having to schedule builds that will always succeed.

          [JENKINS-848] Excludes List Enhancement

          Code changed in hudson
          User: : draco2k8
          Path:
          trunk/hudson/main/core/src/main/java/hudson/scm/CVSSCM.java
          trunk/hudson/main/core/src/main/resources/hudson/scm/CVSSCM/config.jelly
          trunk/hudson/main/war/resources/help/_cvs/excludedRegions.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=15426
          Log:
          [FIXED JENKINS-848] Added ability for CVS polling to ignore commits of certain files as unimportant to the build process succeeding (e.g. HTML files) - thus a build would not be triggered.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : draco2k8 Path: trunk/hudson/main/core/src/main/java/hudson/scm/CVSSCM.java trunk/hudson/main/core/src/main/resources/hudson/scm/CVSSCM/config.jelly trunk/hudson/main/war/resources/help/_cvs/excludedRegions.html http://fisheye4.cenqua.com/changelog/hudson/?cs=15426 Log: [FIXED JENKINS-848] Added ability for CVS polling to ignore commits of certain files as unimportant to the build process succeeding (e.g. HTML files) - thus a build would not be triggered.

          mdonohue added a comment -
              • Issue 1783 has been marked as a duplicate of this issue. ***

          mdonohue added a comment - Issue 1783 has been marked as a duplicate of this issue. ***

          canhuth added a comment -

          I believe the original poster's intention was a solution for all SCMs, so I
          would not close this until it has been implemented for at least the standard
          SCMs supported out of the box by Hudson.

          canhuth added a comment - I believe the original poster's intention was a solution for all SCMs, so I would not close this until it has been implemented for at least the standard SCMs supported out of the box by Hudson.

          draco2k8 added a comment -

          @canhuth: I am the original poster of this issue, and you are correct, the
          original intention for this was to be able to fix all SCMs to include this
          option. I will reopen this issue, and raise separate issues for CVS and SVN (I
          am working on porting the code over to the Subversion class now). This issue
          can be a place holder for creating a "one-size-fits-all" solution for all our
          supported SCMs.

          draco2k8 added a comment - @canhuth: I am the original poster of this issue, and you are correct, the original intention for this was to be able to fix all SCMs to include this option. I will reopen this issue, and raise separate issues for CVS and SVN (I am working on porting the code over to the Subversion class now). This issue can be a place holder for creating a "one-size-fits-all" solution for all our supported SCMs.

          draco2k8 added a comment -

          Reassigning to myself

          draco2k8 added a comment - Reassigning to myself

          draco2k8 added a comment -

          draco2k8 added a comment - Issues raised per SCM: CVS: https://hudson.dev.java.net/issues/show_bug.cgi?id=3123 SVN: https://hudson.dev.java.net/issues/show_bug.cgi?id=3124

          Code changed in hudson
          User: : draco2k8
          Path:
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=15427
          Log:
          [FIXED JENKINS-848] Added ability for CVS polling to ignore commits of certain files as unimportant to the build process (e.g. HTML files) thus a build would not be triggered

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : draco2k8 Path: trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=15427 Log: [FIXED JENKINS-848] Added ability for CVS polling to ignore commits of certain files as unimportant to the build process (e.g. HTML files) thus a build would not be triggered

          draco2k8 added a comment -

          SCM_Issue_link is bugging out!

          draco2k8 added a comment - SCM_Issue_link is bugging out!

          mdonohue added a comment -
              • Issue 1370 has been marked as a duplicate of this issue. ***

          mdonohue added a comment - Issue 1370 has been marked as a duplicate of this issue. ***

          Oleg Nenashev added a comment -

          Seems the issue has been resolved long time ago

          Oleg Nenashev added a comment - Seems the issue has been resolved long time ago

            draco2k8 draco2k8
            draco2k8 draco2k8
            Votes:
            4 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: