How to identify the compatibility plugins?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to identify the compatibility plugins?

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. 

--
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/e83f9a60-24b9-4ed3-bbf1-c1ac7bc47027%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: How to identify the compatibility plugins?

Björn Pedersen
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.
Reply | Threaded
Open this post in threaded view
|

Re: How to identify the compatibility plugins?

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.


--
Shi Yanjun(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/CALfBRDoY-a_hWmHg5P9NsWQUUFtYkp97M69TOpCxhBw9u2hnoA%40mail.gmail.com.
Reply | Threaded
Open this post in threaded view
|

Re: How to identify the compatibility plugins?

Björn Pedersen
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=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;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=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;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&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;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=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FyJunS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFyY_G2HBv-uASoVWmCzAp0j5Orug&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FyJunS\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFyY_G2HBv-uASoVWmCzAp0j5Orug&#39;;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.
Reply | Threaded
Open this post in threaded view
|

Re: How to identify the compatibility plugins?

YanJun Shi
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.


--
Shi Yanjun(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.


--
Shi Yanjun(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/CALfBRDqsqbi193Cey%2BM6cc%3DYgM7-yva2wMgPNF7x_fXYyPv%3DRA%40mail.gmail.com.