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

Ability to ignore files when doing a cvs poll for changes

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Major Major
    • cvs-plugin
    • None
    • Platform: All, OS: All

      When hudson is doing a cvs poll it detects changes when a file has been locally
      modified. Sometimes it might not be desired to trigger a build when a local file
      has been modified, because this could have been caused by the previous build.

      Possible solution for this would be to ignore certain files known to be locally
      modified.

          [JENKINS-2940] Ability to ignore files when doing a cvs poll for changes

          Jesse Glick added a comment -

          'cvs update' is already passed the '-C' option to clobber any source
          modifications that might have been made during the previous build. If
          CVSSCM.parseUpdateOutput is treating any output from this command which solely
          consists of reverting a local modification as an upstream change, then that is a
          bug, not an RFE.

          Well-behaved build scripts will not make any such modifications to begin
          with, of course; but accidents happen, and it is desirable for Hudson to recover
          without manual intervention by starting every build with a clean source tree,
          especially if the build script is fixed later.

          Jesse Glick added a comment - 'cvs update' is already passed the '-C' option to clobber any source modifications that might have been made during the previous build. If CVSSCM.parseUpdateOutput is treating any output from this command which solely consists of reverting a local modification as an upstream change, then that is a bug, not an RFE. Well-behaved build scripts will not make any such modifications to begin with, of course; but accidents happen, and it is desirable for Hudson to recover without manual intervention by starting every build with a clean source tree, especially if the build script is fixed later.

          mdonohue added a comment -

          Does issue 848 solve this?

          mdonohue added a comment - Does issue 848 solve this?

          renarj added a comment -

          Yes the changes made for issues 848 solved this, great work many thnx

          renarj added a comment - Yes the changes made for issues 848 solved this, great work many thnx

          mdonohue added a comment -

          issue 3123 is being used in the hudson changelog, so i'll mark this as a dup of
          that.

              • This issue has been marked as a duplicate of 3123 ***

          mdonohue added a comment - issue 3123 is being used in the hudson changelog, so i'll mark this as a dup of that. This issue has been marked as a duplicate of 3123 ***

            Unassigned Unassigned
            renarj renarj
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: