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

Excluded Regions is ignored with Clearcare dynamic view

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • clearcase-plugin
    • None

      SCM poll ignores any exclude regions rules when used with clearcase dynamic view. Looking at the cleacase lshistory command that is executed under the covers, there is no reference to the regex rule.

      Example Output from Log :
      cleartool lshistory -all -since 25-aug-10.01:50:07utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -branch brtype:prj_0505 -nco prj_foo

      "20100824.215619" "test" "M:\test_projects\prj_foo\bar\test\build.xml" "\main\prj_0505\1" "create version" "checkin"
      Forcing a build

      Exclude Regions Rule:
      .+prj_foo\\bar
      .*$

          [JENKINS-7292] Excluded Regions is ignored with Clearcare dynamic view

          Hello,

          the problem may exists, but it cannot be seen at lshistory level. All load rules are included in lshistory, then elements specified in excluded regions are removed as post-process.

          Vincent Latombe added a comment - Hello, the problem may exists, but it cannot be seen at lshistory level. All load rules are included in lshistory, then elements specified in excluded regions are removed as post-process.

          cdadia added a comment - - edited

          Thanks. I did some more testing with the following results..

          1. Changed dynamic view to snapshot
          2. Changed exclude region rule

          from .+prj_foo
          bar.*$
          to \\bar\\.*
          *.java

          This Works. Not sure why the first regex didn't work.

          My next test is to convert the snapshot to dynamic view and try with the new exclude region rule.

          cdadia added a comment - - edited Thanks. I did some more testing with the following results.. 1. Changed dynamic view to snapshot 2. Changed exclude region rule from .+prj_foo bar.*$ to \\bar\\.* *.java This Works. Not sure why the first regex didn't work. My next test is to convert the snapshot to dynamic view and try with the new exclude region rule.

          Romain Seguy added a comment -

          Removed the CC UCM Baseline component.

          Romain Seguy added a comment - Removed the CC UCM Baseline component.

            Unassigned Unassigned
            cdadia cdadia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: