mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-05 16:15:54 +00:00
[FIXED JENKINS-37041] Ensure that detached plugins are always at least their minimum version
This commit is contained in:
1 parent
8e536513e8
commit
2a450e5ac2
2 files changed
+38
No files matched your search
@@ -401,6 +401,16 @@ public class ClassicPluginStrategy implements PluginStrategy {
|
||||
public VersionNumber getSplitWhen() {
|
||||
return splitWhen;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the minimum required version for the current version of Jenkins.
|
||||
*
|
||||
* @return the minimum required version for the current version of Jenkins.
|
||||
* @sice 2.16
|
||||
*/
|
||||
public VersionNumber getRequireVersion() {
|
||||
return new VersionNumber(requireVersion);
|
||||
}
|
||||
}
|
||||
|
||||
private static final List<DetachedPlugin> DETACHED_LIST = Collections.unmodifiableList(Arrays.asList(
|
||||
|
||||
Reference in new issue
Block a user