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

Upgrading/downgrading Jenkins needs to invalidate update site cache

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      2.280 and 2.277.1

      Description

      A weekly version of Jenkins was installed (2.42). Uninstalled that version and installed a LTS version (2.32.2). Jenkins shows the following notification: "New version of Jenkins (2.43) is available for download".

      It should detect this is a LTS installation and only prompt to update to LTS versions.

      Additionally, incompatible versions of plugins could be offered, when a more appropriate update site would offer compatible releases.

      On upgrade, Jenkins might miss new plugins not available to the previous baseline, such as detached plugins.

        Attachments

          Issue Links

            Activity

            gtirloni Giovanni Tirloni created issue -
            danielbeck Daniel Beck made changes -
            Field Original Value New Value
            Summary After switching to LTS, still prompts to update to weeklies Upgrading/downgrading Jenkins needs to invalidate update site cache
            danielbeck Daniel Beck made changes -
            Description A weekly version of Jenkins was installed (2.42). Uninstalled that version and installed a LTS version (2.32.2). Jenkins shows the following notification: "New version of Jenkins (2.43) is available for download".

            It should detect this is a LTS installation and only prompt to update to LTS versions.
            A weekly version of Jenkins was installed (2.42). Uninstalled that version and installed a LTS version (2.32.2). Jenkins shows the following notification: "New version of Jenkins (2.43) is available for download".

            It should detect this is a LTS installation and only prompt to update to LTS versions.

            ---

            Additionally, incompatible versions of plugins could be offered, when a more appropriate update site would offer compatible releases.
            danielbeck Daniel Beck made changes -
            Assignee R. Tyler Croy [ rtyler ]
            rtyler R. Tyler Croy made changes -
            Component/s core [ 15593 ]
            Component/s core [ 21134 ]
            Key INFRA-1055 JENKINS-41727
            Workflow classic default workflow [ 215708 ] JNJira + In-Review [ 215783 ]
            Project Infrastructure [ 10301 ] Jenkins [ 10172 ]
            danielbeck Daniel Beck made changes -
            Assignee Daniel Beck [ danielbeck ]
            danielbeck Daniel Beck made changes -
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            danielbeck Daniel Beck made changes -
            Description A weekly version of Jenkins was installed (2.42). Uninstalled that version and installed a LTS version (2.32.2). Jenkins shows the following notification: "New version of Jenkins (2.43) is available for download".

            It should detect this is a LTS installation and only prompt to update to LTS versions.

            ---

            Additionally, incompatible versions of plugins could be offered, when a more appropriate update site would offer compatible releases.
            A weekly version of Jenkins was installed (2.42). Uninstalled that version and installed a LTS version (2.32.2). Jenkins shows the following notification: "New version of Jenkins (2.43) is available for download".

            It should detect this is a LTS installation and only prompt to update to LTS versions.



            Additionally, incompatible versions of plugins could be offered, when a more appropriate update site would offer compatible releases.

            On upgrade, Jenkins might miss new plugins not available to the previous baseline, such as detached plugins.
            Hide
            danielbeck Daniel Beck added a comment -

            JENKINS-48365 tracks a bug in core related to detached plugins, but I expect without a fix for this issue, it will remain broken for many users.

            Show
            danielbeck Daniel Beck added a comment - JENKINS-48365 tracks a bug in core related to detached plugins, but I expect without a fix for this issue, it will remain broken for many users.
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-48365 [ JENKINS-48365 ]
            danielbeck Daniel Beck made changes -
            Link This issue is related to JENKINS-48365 [ JENKINS-48365 ]
            Hide
            danielbeck Daniel Beck added a comment -

            Invalid link, I think – upgrading uses the local copy of the plugin.

            Show
            danielbeck Daniel Beck added a comment - Invalid link, I think – upgrading uses the local copy of the plugin.
            danielbeck Daniel Beck made changes -
            Assignee Daniel Beck [ danielbeck ]
            danielbeck Daniel Beck made changes -
            Remote Link This issue links to "PR 5257 (Web Link)" [ 26495 ]
            danielbeck Daniel Beck made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            danielbeck Daniel Beck made changes -
            Assignee Daniel Beck [ danielbeck ]
            danielbeck Daniel Beck made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            timja Tim Jacomb made changes -
            Issue Type Improvement [ 4 ] Bug [ 1 ]
            timja Tim Jacomb made changes -
            Labels lts-candidate
            danielbeck Daniel Beck made changes -
            Status In Review [ 10005 ] In Progress [ 3 ]
            danielbeck Daniel Beck made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            danielbeck Daniel Beck made changes -
            Assignee Daniel Beck [ danielbeck ]
            jglick Jesse Glick made changes -
            Link This issue relates to JENKINS-64750 [ JENKINS-64750 ]
            timja Tim Jacomb made changes -
            Remote Link This issue links to "jenkinsci/jenkins/pull/5282 (Web Link)" [ 26510 ]
            jglick Jesse Glick made changes -
            Assignee Tim Jacomb [ timja ]
            jglick Jesse Glick made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
            timja Tim Jacomb made changes -
            Released As 2.280
            Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
            timja Tim Jacomb made changes -
            Labels lts-candidate 2.277.1-fixed
            markewaite Mark Waite made changes -
            Released As 2.280 2.280 and 2.277.1
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              Assignee:
              timja Tim Jacomb
              Reporter:
              gtirloni Giovanni Tirloni
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: