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

PLugin manager does not handle version numbers that contains "-SNAPSHOT"

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      I have various versions of plugins that i compiled myself a while ago to test the snapshot.
      But now when the plugin has been released, I would like to update center show that there
      are updates to the plugin.

      Steps to reproduce:
      1. Install an old snapshot version of a plugin
      2. Go to the plugin manager

      Expected outcome:
      The plugin manager should show that there is an update to the old plugin

      Actual outcome:
      The plugin manager is nto showing an update

          [JENKINS-2220] PLugin manager does not handle version numbers that contains "-SNAPSHOT"

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/main/core/src/main/java/hudson/util/VersionNumber.java
          trunk/www/changelog.html
          http://fisheye4.cenqua.com/changelog/hudson/?cs=11485
          Log:
          [FIXED JENKINS-2220] SNAPSHOT in version numbers need to be handled accordingly.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/main/core/src/main/java/hudson/util/VersionNumber.java trunk/www/changelog.html http://fisheye4.cenqua.com/changelog/hudson/?cs=11485 Log: [FIXED JENKINS-2220] SNAPSHOT in version numbers need to be handled accordingly.

          xlv added a comment -

          The -SNAPSHOT is still not handled correctly. There are two issues:

          • a previous call to toLowerCase() makes the current test useless.
          • possible trailing info after "-SNAPSHOT" results in parsing exception.

          xlv added a comment - The -SNAPSHOT is still not handled correctly. There are two issues: a previous call to toLowerCase() makes the current test useless. possible trailing info after "-SNAPSHOT" results in parsing exception.

          Code changed in hudson
          User: : xlv
          Path:
          trunk/hudson/main/core/src/main/java/hudson/util/VersionNumber.java
          trunk/hudson/main/core/src/test/java/hudson/util/VersionNumberTest.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=11716
          Log:
          [FIXED JENKINS-2220] SNAPSHOT in version numbers need to be handled accordingly.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : xlv Path: trunk/hudson/main/core/src/main/java/hudson/util/VersionNumber.java trunk/hudson/main/core/src/test/java/hudson/util/VersionNumberTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=11716 Log: [FIXED JENKINS-2220] SNAPSHOT in version numbers need to be handled accordingly.

            redsolo redsolo
            redsolo redsolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: