Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-19 Thread 'Maciej Jaros' via Jenkins Users
Just do this on the agent: * Get JDK 17 from Adoptium (Linux x64 in my case). * Unpack to |/var/jenkins|. * Rename unpacked “jdk[version]” to “jdk”. * Check: |/var/jenkins/jdk/bin/java -version| Jenkins agent will

Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-18 Thread 'Dirk Heinrichs' via Jenkins Users
Am Donnerstag, dem 18.04.2024 um 09:40 -0700 schrieb Sai Bhargav Kottisa: Agent machine (/etc/java/Openjdk_17.0.6.0/bin/java drwxr-xr-x 10 rootroot 131 Jan 14 2023Openjdk_17.0.6.0) As already written by Mark, you should NOT install things into /etc.

Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-18 Thread Ivan Fernandez Calvo
M hudson.remoting.Launcher$CuiListener status > *INFO: Could not locate server among [ http:// mo1csgw2321:8080/ ]; > waiting 10 seconds before retry* > *java.io.IOException: http:// mo1csgw2321:8080/tcpSlaveAgentListener/ is > invalid: 404 Not Found* > at > org.jenkinsci.remoting.engine.JnlpAge

Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-18 Thread Sai Bhargav Kottisa
at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:222) at hudson.remoting.Engine.innerRun(Engine.java:809) at hudson.remoting.Engine.run(Engine.java:563) On Monday, April 15, 2024 at 10:26:26 PM UTC+5:30 kuisat...@gmail.com wrote: > >Jenkins

Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-15 Thread Ivan Fernandez Calvo
>Jenkins not able to launch the slave due to unrecognizable JAVA_HOME Stop using Slave and use Agent as a name for the Build Agents attached to the Jenkins Controller (no longer master) >so could anyone please help as it is urgent This is a User group, so NOTHING here is urgent. If someo

Re: Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-15 Thread Mark Waite
On Monday, April 15, 2024 at 7:09:03 AM UTC-7 Sai wrote: Hi, I have the below machine config *(Master Jenkins)* OS RedHat Enterprise Linux 7.6 openjdk version "11.0.22" 2024-01-16 LTS path: /usr/lib/jvm/java-11-openjdk-11.0.22.0.7-1.el7_9.x86_64/bin/java The Jenkins project stopped supportin

Jenkins not able to launch the slave due to unrecognizable JAVA_HOME

2024-04-15 Thread Sai Bhargav Kottisa
Hi, I have the below machine config *(Master Jenkins)* OS RedHat Enterprise Linux 7.6 openjdk version "11.0.22" 2024-01-16 LTS path: /usr/lib/jvm/java-11-openjdk-11.0.22.0.7-1.el7_9.x86_64/bin/java * (Slave Jenkins)* RHEL VERSION=7.9 (Maipo) openjdk version "12.0.2" 2019-07-16 path: /etc/java/j