Re: Confusion with JNLP

2021-01-25 Thread Jeff Thompson
On 1/25/21 1:23 PM, Jigar R wrote: Hello Jenkins community, I have created jenkins (v2.249.1) agent with launch method "Lauch agent by connecting it to the master". This prints a command on Jenkins UI i.e. "java -jar agent.jar -jnlpUrl -secret ". Does this method use java web start /

Confusion with JNLP

2021-01-25 Thread Jigar R
Hello Jenkins community, I have created jenkins (v2.249.1) agent with launch method "Lauch agent by connecting it to the master". This prints a command on Jenkins UI i.e. "java -jar agent.jar -jnlpUrl -secret ". Does this method use java web start / JNLP4? Is it going away? -- Jigar

Re: Extended E-mail Notification plugin not working

2021-01-25 Thread Bob S
aghhh I was just missing commas after my addresses On Monday, January 25, 2021 at 3:37:46 PM UTC-6 Bob S wrote: > > I'm trying to use the Extended E-mail Notification plugin to email me when > a build fails. I keep getting this error: > > An attempt to send an e-mail to empty list of recipient

Extended E-mail Notification plugin not working

2021-01-25 Thread Bob S
I'm trying to use the Extended E-mail Notification plugin to email me when a build fails. I keep getting this error: An attempt to send an e-mail to empty list of recipients, ignored. I'm trying to send the email from a declarative pipeline like this: emailext body: 'Check console output at

Re: Portable Maven launch

2021-01-25 Thread 'Martin Schmude' via Jenkins Users
The if statement is not a pipeline step. It has to be wrapped in a script block: https://www.jenkins.io/doc/book/pipeline/syntax/#script jochen@gmail.com schrieb am Sonntag, 24. Januar 2021 um 21:30:54 UTC+1: > Thanks, > > sounds like what I was looking for. But then: Any ideas, what's wro

Re: JDK8 or JDK11 to be used for Jenkins ?

2021-01-25 Thread mj1414...@gmail.com
Hello Daniel, yes, we're on 2.263.1. (The open bug on the .2 is blocking us for the update) Obviously should have mentioned the Jenkins version used ;-) How to handle these " WARNING: Illegal reflective access" ? I see a whole bunch of them. Given your statement about weekly releases, it probab

Re: JDK8 or JDK11 to be used for Jenkins ?

2021-01-25 Thread Daniel Beck
> On 25. Jan 2021, at 13:37, mj1414...@gmail.com wrote: > > WARNING: Illegal reflective access by > com.thoughtworks.xstream.core.util.Fields > (file:/var/fpwork/ltedlphy/jenkinsCurrent/home/war/WEB-INF/lib/xstream-1.4.7-jenkins-1.jar) > to field java.util.TreeMap.comparator At most you're

Re: JDK8 or JDK11 to be used for Jenkins ?

2021-01-25 Thread mj1414...@gmail.com
I've updated from JDK 8 (jdk8u265-b01) to JDK11 (jdk-11.0.9.1+1) Now I see in the log: WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/var/fpwork/ltedlphy/jenkinsCurrent/home/war/WEB-INF/lib/xstream-1.4.7-jenkins-1.jar) to field java.util.TreeMap.compara

Re: c.s.h.p.g.t.GerritProjectListUpdater#tryLoadProjectList: Not connected to Gerrit, waiting for 64 secon d(s)

2021-01-25 Thread mj1414...@gmail.com
Update: Two things happened over the weekend: - Our Gerrit HW got updated - I just updated the used JDK from JDK 8 (jdk8u265-b01) to JDK11 (jdk-11.0.9.1+1) It started up much, much faster. In the logs I (just) found: "Not connected to Gerrit, waiting for X second(s)", with X=1,2,4 - Pure lu