Re: Java 11 is the recommended version to run Jenkins on

2021-11-03 Thread s.p...@gmail.com
Thank you Mark!

On Wednesday, November 3, 2021 at 10:38:28 AM UTC-4 Mark Waite wrote:

> Jenkins continues to support Java 8.  We recommend Java 11.
>
> See 
> https://www.jenkins.io/blog/2021/08/17/docker-images-use-jdk-11-by-default/ 
> for more details on the rationale for that transition.
>
> On Wednesday, November 3, 2021 at 8:24:47 AM UTC-6 s.p...@gmail.com wrote:
>
>> After I upgraded Jenkins to 2.303.2, I'm seeing an alert as below. J. I 
>> think Java 11 is OpenJDK and we are using java 1.8.0_301. Is Java 1.8 no 
>> longer supported ? Any inputs are really appreciated. TIA
>>
>> "Java11 is the recommended version to run Jenkins on; please consider 
>> upgrading."
>>
>>
>>
>>

-- 
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/6d0d835c-4cf5-48e8-802f-af02c09e28bfn%40googlegroups.com.


Re: Java 11 is the recommended version to run Jenkins on

2021-11-03 Thread Mark Waite
Good point.  More details on the transition to Java 11 are included in the 
2.303.1 
upgrade guide 
.
  
The upgrade guide includes a list of plugins known to be incompatible with 
Java 11.

On Wednesday, November 3, 2021 at 8:44:00 AM UTC-6 Daniel wrote:

> Somewhere it states that not all plug-ins support Java 11 also.
>
>  
>

-- 
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/9209f0b5-cb47-48d2-a068-f3d2e1d9f3cen%40googlegroups.com.


?????? thread safety of scripted pipeline parallel and usage of nested parallel

2021-11-03 Thread 'abstrakta' via Jenkins Users
https://www.jenkins.io/doc/book/pipeline/scaling-pipeline/ says that durability 
is the ability of restarting running jobs even if Jenkins server restarts or 
system crashes.It seems not much useful. Jenkins server seems not so easy to 
crash.
What are some subtle bugs related to Pipeline durability with nested parallel 
steps in the past?I'd like to use need parallel if possible.In some situations, 
nested parallel is useful.
For example,you want build artifacts in A,B,C platforms parallelly.Then you run 
test artifacts in corresponding A(A1 A2 A3), B(B1 B2 B3), C(C1 C2 C3).If not 
using nested parallel, you must wait for A,B,C all finish their building to 
start test.If building A cost 10mins, building B cost 40mins, branch A don't 
need to wait the remaining 30min.Nested parallel can reduce this kind of 
waitting time,branch A just start its own parallel test after branch A finish, 
without waitting branch B.In the meantime, if branch A fails, branch B will 
continue to run B's test, which is originally not related to branch A's fail.
If you spilt nested parallel into two sequential parallel, you must handle the 
fails of different branch, only start test for successful build platforms.Or if 
you spilt nested parallel into two Jenkins build jobs,it seems splitting two 
related things, which make things harder to understand.

Thanks.


--原始邮件--
发件人:
"jenkinsci-users"   
 
https://github.com/jenkinsci/workflow-cps-plugin#technical-design for a few 
more details. You should not need to worry about Java thread safety across the 
various branches in a parallel step as long as you are not doing anything with 
Java threads directly in your Pipeline.

On Mon, Nov 1, 2021 at 7:03 AM kuisathaverat https://groups.google.com/d/msgid/jenkinsci-users/0712b8c5-42dc-439f-a017-2a5ca45ad1e9n%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 jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fed01b0e-a04c-448b-9f32-3d2b3ffd6c40n%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 jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/tencent_579508DE2429C25B92D7BFFF6AED09115C08%40qq.com.
 
 

 -- 
 You received this message because you are subscribed to a topic in the Google 
Groups "Jenkins Users" group.
 To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/jenkinsci-users/9fzFnwLkfxU/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
jenkinsci-use...@googlegroups.com.
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/tencent_E81808632457C23792EEBFC46A5A093E5C08%40qq.com.
 



-- 
Un SaludoIván Fernández Calvo
https://www.linkedin.com/in/iv%C3%A1n-fern%C3%A1ndez-calvo-21425033





 

 -- 
 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-use...@googlegroups.com.
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAKo5Qrq%2BP9qYn%3Dm9Ssc4aSCAkedr_7D1jRTSuKYPQNxJ_3xrmw%40mail.gmail.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 jenkinsci-use...@googlegroups.com.

 To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAF73ShC883ws%3DYvMVcBeeR%3Dyub8iyjA0%3DidL_pzDocki0Rp5dg%40mail.gmail.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 jenkinsci-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/e6017246-339c-4bd0-8197-bf5abb05bb8bn%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/tencent_3947923BE10CC99A5F2035B68479AE6D0407%40qq.com.


Re: Resource Root Problem Post Upgrade

2021-11-03 Thread Matt Wilson
I managed to get a service restart last night.  I just reapplied my 
resource root url setting.
mystery continues at this point.  After reapplying my settings, I can 
download artifacts with no problem.  The logs are clean with respect to 
these downloads, nothing out of the ordinary.

when I reload my config page though I see an error below my resource url 
just as before (see attached).  The stack trace is the same as before.
I'm going to wait it out right now, but I'm expecting this will stop 
working at somepoint over the next day or so.  I have no idea if this 
"error" message was present before the upgrade to this version.

On Tuesday, November 2, 2021 at 11:03:32 AM UTC-4 Matt Wilson wrote:

> thanks.  Whats odd is that based on job log output this seemed to have 
> been working for a few days, then "broke".  Right now I'm playing on 
> scheduling a service restart.  Maybe I'll get lucky and its just a one 
> off... I guy can dream.
> On Tuesday, November 2, 2021 at 3:43:53 AM UTC-4 db...@cloudbees.com 
> wrote:
>
>> On Tue, Nov 2, 2021 at 2:27 AM Matt Wilson  wrote:
>>
>>>
>>> Caused by: java.lang.NullPointerException
>>> at 
>>> jenkins.security.ResourceDomainConfiguration.checkUrl(ResourceDomainConfiguration.java:174)
>>> at 
>>> jenkins.security.ResourceDomainConfiguration.doCheckUrl(ResourceDomainConfiguration.java:88)
>>>
>>
>> The URL responds with a 404 error message and has no response message (of 
>> course error handling should be better). Would look at reverse proxy or a 
>> nondefault web container as the likely culprit (I just checked 
>> ci.jenkins.io to be sure it's not a general problem, and its resource 
>> root URL works as expected).
>>
>> Another option might be problems with the instance-identity module I use 
>> to determine URL correctness, but then the actual URLs should work, and 
>> only form validation be broken.
>>
>

-- 
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/5cb596af-8f8a-4819-9d78-bf1f73249fadn%40googlegroups.com.


Re: Java 11 is the recommended version to run Jenkins on

2021-11-03 Thread Burns, Daniel
Somewhere it states that not all plug-ins support Java 11 also.

Daniel R. Burns |Lead Cloud Platform Engineer – Platform Services |[A picture 
containing clock  Description automatically generated] | CFB #2273| Phone: 
214-812-2277|Mobile: 
469-298-8917|Email: 
daniel.bu...@vistracorp.com

Please direct all issues and requests to 
ServiceNow.

From:  on behalf of Mark Waite 

Reply-To: "jenkinsci-users@googlegroups.com" 
Date: Wednesday, November 3, 2021 at 9:38 AM
To: Jenkins Users 
Subject: Re: Java 11 is the recommended version to run Jenkins on

EXTERNAL EMAIL

Jenkins continues to support Java 8.  We recommend Java 11.

See https://www.jenkins.io/blog/2021/08/17/docker-images-use-jdk-11-by-default/ 
for more details on the rationale for that transition.
On Wednesday, November 3, 2021 at 8:24:47 AM UTC-6 s.p...@gmail.com wrote:
After I upgraded Jenkins to 2.303.2, I'm seeing an alert as below. J. I think 
Java 11 is OpenJDK and we are using java 1.8.0_301. Is Java 1.8 no longer 
supported ? Any inputs are really appreciated. TIA

"Java11 is the recommended version to run Jenkins on; please consider 
upgrading."



--
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/30b4e059-f436-4645-9777-3289efd4a487n%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/39015531-0D66-4440-8E7A-8B9D0968797C%40vistracorp.com.


Re: Java 11 is the recommended version to run Jenkins on

2021-11-03 Thread Mark Waite
Jenkins continues to support Java 8.  We recommend Java 11.

See https://www.jenkins.io/blog/2021/08/17/docker-images-use-jdk-11-by-default/ 
for more details on the rationale for that transition.

On Wednesday, November 3, 2021 at 8:24:47 AM UTC-6 s.p...@gmail.com wrote:

> After I upgraded Jenkins to 2.303.2, I'm seeing an alert as below. J. I 
> think Java 11 is OpenJDK and we are using java 1.8.0_301. Is Java 1.8 no 
> longer supported ? Any inputs are really appreciated. TIA
>
> "Java11 is the recommended version to run Jenkins on; please consider 
> upgrading."
>
>
>
>

-- 
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/30b4e059-f436-4645-9777-3289efd4a487n%40googlegroups.com.


Java 11 is the recommended version to run Jenkins on

2021-11-03 Thread s.p...@gmail.com
After I upgraded Jenkins to 2.303.2, I'm seeing an alert as below. J. I 
think Java 11 is OpenJDK and we are using java 1.8.0_301. Is Java 1.8 no 
longer supported ? Any inputs are really appreciated. TIA

"Java11 is the recommended version to run Jenkins on; please consider 
upgrading."



-- 
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/0cdabb8b-b73d-47a8-89dc-205dce4b78f2n%40googlegroups.com.