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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.
          Hide
          xlv 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.
          Show
          xlv 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.
          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.

            People

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

              Dates

              Created:
              Updated:
              Resolved: