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

Jenkins 2.263.3(LTS): token-macro plugin 2.14 downloaded by blueocean transitively is not compatible with Jenkins LTS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      jenkins 2.263.3 (LTS)
      kubernetes 1.17
    • Similar Issues:

      Description

      I tried to install blueocean with plugin-manager plugin : 

       

       

      jenkins-plugin-cli --war "/usr/share/jenkins/jenkins.war" --verbose --plugins blueocean:1.24.4
      

       

      I got this error : 

       

       

      token-macro (2.14) requires a greater version of Jenkins (2.274) than 2.263.3 in /usr/share/jenkins/jenkins.war
       at io.jenkins.tools.pluginmanager.impl.PluginManager.checkVersionCompatibility(PluginManager.java:438)
       at io.jenkins.tools.pluginmanager.impl.PluginManager.start(PluginManager.java:163)
       at io.jenkins.tools.pluginmanager.impl.PluginManager.start(PluginManager.java:117)
       at io.jenkins.tools.pluginmanager.cli.Main.main(Main.java:76)
      token-macro (2.14) requires a greater version of Jenkins (2.274) than 2.263.3 in /usr/share/jenkins/jenkins.war
      
      
      

       

      1. Actual

      Blueocean ( the main plugin) says the following:

      • Version: 1.24.4
      • Released: 7 days ago
      • Requires Jenkins 2.176.4
         
        Which means that the blueocean plugin version compatible with the Jenkins version (2.263.3). However one of its dependencies (token-macro) require latest version of Jenkins.
         
      1. Expected
         
        Blueocean must be released with a dependencies compatible with a specific  Jenkins version
         
         
         

        Attachments

          Activity

          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Please see https://github.com/jenkinsci/plugin-installation-manager-tool/issues/193 . AFAICT there is still a bug in the plugin installation manager implementation. 

          Show
          oleg_nenashev Oleg Nenashev added a comment - Please see https://github.com/jenkinsci/plugin-installation-manager-tool/issues/193  . AFAICT there is still a bug in the plugin installation manager implementation. 

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            abdennour Abdennour Toumi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: