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

Support for leading zero for calculating the next version number

    • Icon: Improvement Improvement
    • Resolution: Not A Defect
    • Icon: Major Major
    • m2release-plugin
    • None
    • m2release 0.6.1

      If you have a versionnumber with leading zero (to fill a constant string length) the method M2ReleaseAction.computeNextVersion() strip this zeros from the version string for the next version.

      I have wrote a patch for that.

      Have a look at https://github.com/kreyssel/hudson-plugins/commit/7572cc1a51c16b4c81adc978ad0ebe315addf73c

      It would be nice if you can include this in the official release version.

      Thanks.

          [JENKINS-7998] Support for leading zero for calculating the next version number

          azgard created issue -
          azgard made changes -
          Summary Original: Support for leading zero for calculation the next New: Support for leading zero for calculating the next version number
          James Nord made changes -
          Assignee Original: James Nord [ teilo ]
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          James Nord made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 138101 ] New: JNJira + In-Review [ 204680 ]

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

              Created:
              Updated:
              Resolved: