[JIRA] (JENKINS-58308) Warn users if plugins require higher version of Jenkins

0 views
Skip to first unread message

natasha.stopa@gmail.com (JIRA)

unread,
Jul 2, 2019, 7:11:02 PM7/2/19
to jenkinsc...@googlegroups.com
Natasha Stopa created an issue
 
Jenkins / Task JENKINS-58308
Warn users if plugins require higher version of Jenkins
Issue Type: Task Task
Assignee: Natasha Stopa
Components: plugin-installation-manager-tool
Created: 2019-07-02 23:10
Labels: plugin-manager gsoc-2019
Priority: Minor Minor
Reporter: Natasha Stopa

It would be nice to warn users if any of the plugins they requested require a higher version of Jenkins before Jenkins starts. See below for an example.

https://github.com/jenkinsci/docker/issues/735

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

natasha.stopa@gmail.com (JIRA)

unread,
Jul 15, 2019, 6:03:02 PM7/15/19
to jenkinsc...@googlegroups.com
Natasha Stopa commented on Task JENKINS-58308
 
Re: Warn users if plugins require higher version of Jenkins

A couple of questions: 

1) If a war file is entered and the plugin version is listed as "latest", should the tool always download the latest plugin version that is compatible with that jenkins version? Or should the tool download the latest version based off of the current update center or jenkins specific version update center and just warn the user if the plugin that was downloaded is incompatible with that version of Jenkins?

2) If the latest plugin that can be used with a specific Jenkins version can be determined from https://updates.jenkins.io/current/plugin-versions.json, would we ever need to download a plugin from a version specific jenkins update center?  

Kristin Whetstone Tim Jacomb 

kwhetstone@cloudbees.com (JIRA)

unread,
Jul 16, 2019, 2:04:01 PM7/16/19
to jenkinsc...@googlegroups.com

1) Go with the most recent, and warn if the plugin is incompatible. If someone requires an older version, then they'll have to request it.
2) No, I don't think so? Especially if paired with the requirement from #1

o.v.nenashev@gmail.com (JIRA)

unread,
Jul 30, 2019, 3:29:28 AM7/30/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
 
Change By: Oleg Nenashev
Sprint: GSoC 2019. Coding Phase 2 , GSoC 2019. Coding Phase 3

natasha.stopa@gmail.com (JIRA)

unread,
Aug 8, 2019, 3:07:02 PM8/8/19
to jenkinsc...@googlegroups.com
Natasha Stopa started work on Task JENKINS-58308
 
Change By: Natasha Stopa
Status: Open In Progress

natasha.stopa@gmail.com (JIRA)

unread,
Aug 23, 2019, 1:31:02 PM8/23/19
to jenkinsc...@googlegroups.com
Natasha Stopa commented on Task JENKINS-58308
 
Re: Warn users if plugins require higher version of Jenkins

Fixed in PR: https://github.com/jenkinsci/plugin-installation-manager-tool/pull/65

This checks if the Jenkins version is older than what's required by the plugin meta data or Manifest. Something to note is that the requiredCore is documented in the metadata found in the update center, but this field does not exist in the plugin manifest. The plugin manifest has a "Jenkins-Version" attribute but from what I could see it looked like this did not always hold the same value as the requiredCore, and seemed to typically have a value much lower than the requiredCore value. 

Something else to note is that this does only checks the lower bounds of a plugin's compatibility with a Jenkins version, not the upper bounds. 

https://github.com/jenkinsci/bom looks to try to solve the issue with documenting upper bound requirements and can perhaps be incorporated into the tool in the future. 

natasha.stopa@gmail.com (JIRA)

unread,
Aug 23, 2019, 1:36:02 PM8/23/19
to jenkinsc...@googlegroups.com

natasha.stopa@gmail.com (JIRA)

unread,
Aug 23, 2019, 1:37:02 PM8/23/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages