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

Add ability to ignore zero (0) revision creation

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Platform: All, OS: All

    Description

      The current plugin considers the creation of a 0 revision node on a file element to be a change and
      triggers a build. When only a 0 revision is created, it is usually because someone has created a sub-
      branch off of the one Hudson is monitoring, not a code change.

      It would be nice to be able to tell the plugin to ignore 0 revision creations.

      An example of change log from one of these:
      vobs/gtx2/fit/fitnesse/FitNesseRoot/foo/bar/content.txt@/main/feature_1.23/0 - create version

      as opposed to
      vobs/gtx2/fit/fitnesse/FitNesseRoot/foo/bar/content.txt@/main/feature_1.23/1 - create version
      ... which SHOULD be considered a build trigger.

      Attachments

        Activity

          redsolo redsolo added a comment -

          Apparently this works as it should on Windows, as it ignores all "\0" versions
          (\main\feature_1.23\0). But apparently the linux/solaris version is formatted
          using "/0". This should be a simple fix.

          redsolo redsolo added a comment - Apparently this works as it should on Windows, as it ignores all "\0" versions (\main\feature_1.23\0). But apparently the linux/solaris version is formatted using "/0". This should be a simple fix.

          Code changed in hudson
          User: redsolo
          Path:
          /hudson/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolHistoryParser.java (1.14)
          /hudson/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolHistoryParserTest.java (1.11)
          http://fisheye5.cenqua.com/changelog/hudson/?cs=MAIN:redsolo:20080326123804

          Log:
          [clearcase-plugin] Now file elements with version "/0" are ignored (issue #1465)

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: redsolo Path: /hudson/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/ClearToolHistoryParser.java (1.14) /hudson/hudson/plugins/clearcase/src/test/java/hudson/plugins/clearcase/ClearToolHistoryParserTest.java (1.11) http://fisheye5.cenqua.com/changelog/hudson/?cs=MAIN:redsolo:20080326123804 Log: [clearcase-plugin] Now file elements with version "/0" are ignored (issue #1465)
          redsolo redsolo added a comment -

          Fixed in CVS.

          redsolo redsolo added a comment - Fixed in CVS.
          esmalling Eric Smalling added a comment -

          Thanks!

          I'll try it out later today using the artifact from your hudson server (http://hudson.ramfelt.se)

          esmalling Eric Smalling added a comment - Thanks! I'll try it out later today using the artifact from your hudson server ( http://hudson.ramfelt.se )
          esmalling Eric Smalling added a comment -

          Looks good! Thanks.

          esmalling Eric Smalling added a comment - Looks good! Thanks.

          People

            redsolo redsolo
            esmalling Eric Smalling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: