Re: How to identify the compatibility plugins?

2019-12-05 Thread 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 <
jenkinsci-users@googlegroups.com> wrote:

> 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 <
>> 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 jenkins...@googlegroups.com.
>>> 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)
>> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> 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)
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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


Re: How to identify the compatibility plugins?

2019-12-04 Thread 'Björn Pedersen' via Jenkins Users
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 <
> 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 jenkins...@googlegroups.com .
>> 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)
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/4b2ef536-5a57-464c-9024-b49000936e3e%40googlegroups.com.


Re: How to identify the compatibility plugins?

2019-12-03 Thread 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 <
jenkinsci-users@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 jenkinsci-users+unsubscr...@googlegroups.com.
> 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)
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CALfBRDoY-a_hWmHg5P9NsWQUUFtYkp97M69TOpCxhBw9u2hnoA%40mail.gmail.com.


Re: How to identify the compatibility plugins?

2019-12-02 Thread 'Björn Pedersen' via Jenkins Users
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/61b3457a-8dc0-4f1f-9fb0-fa050b923d40%40googlegroups.com.


How to identify the compatibility plugins?

2019-12-02 Thread 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e83f9a60-24b9-4ed3-bbf1-c1ac7bc47027%40googlegroups.com.