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

Provide list of folders and/or files for polling (lshistory)

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • clearcase-plugin
    • None
    • Windows XP, Hudson 1.395 / Jenkins 1.399, CC plugin 1.3.5

      For polling the load rules are used and lshistory is executed with -all. So we see all changes in given VOBs (load rules) and build is triggered. We need the possibility to define some special folders and/or files for polling and trigger the build.

      It would be good to have new option "use other load rules (paths) for polling". With this option we can call "lshistory -recurse" with entered paths instead of load rules.

      I already added this feature to base clear case and it works for my use. Is it useful for other users?

          [JENKINS-8949] Provide list of folders and/or files for polling (lshistory)

          Samuel Moritz added a comment -

          This would be useful for many users, I think. You have my vote

          This feature would also have the benefit of lshistory not listing all changes in the VOB, right? (Instead showing just changes in the files/folders the job is polling)

          Samuel Moritz added a comment - This would be useful for many users, I think. You have my vote This feature would also have the benefit of lshistory not listing all changes in the VOB, right? (Instead showing just changes in the files/folders the job is polling)

          anb0s added a comment -

          anb0s added a comment - Integrated patch at https://github.com/anb0s/clearcase-plugin/tree/integrate_1.3.8

          Code changed in jenkins
          User: unknown
          Path:
          pom.xml
          src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java
          src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java
          src/main/resources/hudson/plugins/clearcase/ClearCaseSCM/config.jelly
          src/main/webapp/base/use-other-load-rules-for-polling.html
          src/main/webapp/loadrules-for-polling.html
          http://jenkins-ci.org/commit/clearcase-plugin/fc85c8227d52df256d3a80c8619035717627de77
          Log:
          http://issues.jenkins-ci.org/browse/JENKINS-8949
          New option for "other load rules (paths)" added. For polling lshistory -recurse is used if other load rules are defined.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: unknown Path: pom.xml src/main/java/hudson/plugins/clearcase/AbstractClearCaseScm.java src/main/java/hudson/plugins/clearcase/ClearCaseSCM.java src/main/resources/hudson/plugins/clearcase/ClearCaseSCM/config.jelly src/main/webapp/base/use-other-load-rules-for-polling.html src/main/webapp/loadrules-for-polling.html http://jenkins-ci.org/commit/clearcase-plugin/fc85c8227d52df256d3a80c8619035717627de77 Log: http://issues.jenkins-ci.org/browse/JENKINS-8949 New option for "other load rules (paths)" added. For polling lshistory -recurse is used if other load rules are defined.

          anb0s added a comment -

          fixed in >= 1.3.9

          anb0s added a comment - fixed in >= 1.3.9

          anb0s added a comment -

          fixed in >= 1.3.9

          anb0s added a comment - fixed in >= 1.3.9

            anb0s anb0s
            anb0s anb0s
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: