|
|
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com.
|
|
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 < [hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com.
--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CALfBRDoY-a_hWmHg5P9NsWQUUFtYkp97M69TOpCxhBw9u2hnoA%40mail.gmail.com.
|
|
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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="EwThcY84AgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">jenkins...@googlegroups.com> 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="EwThcY84AgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">jenkins...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com.
--
Shi Yanjun(yJunS) Blog:<a href="https://github.com/yJunS" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FyJunS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFyY_G2HBv-uASoVWmCzAp0j5Orug';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FyJunS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFyY_G2HBv-uASoVWmCzAp0j5Orug';return true;">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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4b2ef536-5a57-464c-9024-b49000936e3e%40googlegroups.com.
|
|
Thanks, Björn.
I think I understand why. I've found this code before, but I'm not sure if there are any bugs, so I want to know more clearly.
On Wed, Dec 4, 2019 at 4:02 PM 'Björn Pedersen' via Jenkins Users < [hidden email]> wrote:
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 < [hidden email]> 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com.
--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/4b2ef536-5a57-464c-9024-b49000936e3e%40googlegroups.com.
--
--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CALfBRDqsqbi193Cey%2BM6cc%3DYgM7-yva2wMgPNF7x_fXYyPv%3DRA%40mail.gmail.com.
|
|