As we set the minimum version of Jenkins, is there any way we can set a maximum version also.
Where do you set the minimum Jenkins version?
If you’re referring to the minimum Jenkins version required by a Jenkins plugin, then that is set in the pom.xml file of the plugin with the jenkins.version
property. The improve a plugin tutorial has a section dedicated to upgrading the minimum Jenkins version.
Not directly. Your plugin can probably check the version number of the current Jenkins version and warn the user. Anything more agressive than warning the user seems like it would be unkind to the user.
1 Like