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"

          redsolo created issue -

          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.
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          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.
          xlv made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

          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.
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: gui [ 15492 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 132293 ] New: JNJira + In-Review [ 201298 ]

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

              Created:
              Updated:
              Resolved: