You should check https://jenkins.io/blog/2019/05/30/becoming-contributor-newbie-tickets/ and https://github.com/jenkinsci/jenkins/pull/3985:
return isCompatibleWithInstalledVersion() && !isForNewerHudson() && !isForNewerJava() && isNeededDependenciesCompatibleWithInstalledVersion(cache) && !isNeededDependenciesForNewerJenkins(cache) && ! isNeededDependenciesForNewerJava(); is the main code used. Am Dienstag, 3. Dezember 2019 12:16:10 UTC+1 schrieb YanJun Shi: > > But I see the function name is ` checkPluginsWithoutWarnings ` for > compatible. > > On Tue, Dec 3, 2019 at 3:05 PM 'Björn Pedersen' via Jenkins Users < > [email protected] <javascript:>> wrote: > >> Hi, >> >> Am Dienstag, 3. Dezember 2019 08:00:10 UTC+1 schrieb YanJun Shi: >>> >>> Hi, everybody >>> >>> When I use Jenkins, I find that the effect of selecting 'all' and >>> 'compatibility' in 'plugins manager' is the same, I want to know how to >>> distinguish between compatible plugins. HI >>> >> >> In most cases this expected. Only for very ancient, unmaintained plugins >> or if using a rather old jenkins you may find a incompatibility. >> Case 1: plugin depends on an now removed other plugin >> Case 2: the plugin requires a newer jenkins core than you are using >> >> So if you keep everythign up-to-date, almost any current plugin should be >> compatible. >> >> Björn >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Shi Yanjun(yJunS) > Blog:https://github.com/yJunS > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4b2ef536-5a57-464c-9024-b49000936e3e%40googlegroups.com.
