omg, yes you are right, I used the wrong wording, I meant “Tool Locations”, I wrote it in my initial question part, and mixed it, so I have not the plugin, which you mentioned. Sorry for that.
This are my nodes:
Name Architecture JVM Version Remoting Version
agent-jdk8 Linux (amd64) 11.0.15.1 4.13.3
Built-In Node Linux (amd64) 11.0.15.1 4.13.3
The agent-jdk8 node has in his properties “Tool Locations”:
name: jdk8
home: /sharedev/SW/java/jdk1.8.0_141
My build is a maven build.
With 2.346.3 it executes:
/sharedev/SW/java/jdk1.8.0_141/bin/java -cp /home/acdbadev1/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.13.jar:/sharedev/SW/apache-maven/boot/plexus-classworlds-2.5.2.jar:/sharedev/SW/apache-maven/conf/logging jenkins.maven3.agent.Maven32Main /sharedev/SW/apache-maven /sharedev/acdbadev1/utils/jenkins/war/WEB-INF/lib/remoting-4.13.2.jar /home/acdbadev1/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.13.jar /home/acdbadev1/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 43438
With 2.361.3 it executes:
/sharedev/SW/java/jdk1.8.0_141/bin/java -cp /home/acdbadev1/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-agent-1.13.jar:/sharedev/SW/apache-maven/boot/plexus-classworlds-2.5.2.jar:/sharedev/SW/apache-maven/conf/logging jenkins.maven3.agent.Maven32Main /sharedev/SW/apache-maven /sharedev/acdbadev1/utils/jenkins/war/WEB-INF/lib/remoting-3044.vb_940a_a_e4f72e.jar /home/acdbadev1/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven32-interceptor-1.13.jar /home/acdbadev1/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 44813
Exception in thread “main” java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been compiled by a more recent version of the Java
As I can see, it means the remoting doesn’t allow the jdk8 anymore, but the 2.361.3 has only remoting-3044.vb_940a_a_e4f72e.jar. Maybe it is the agent.jar, which it doesn’t allow. I don’t know, maybe you can help.
From the doku and Jenkins itself I get the agent.jar: curl -sO http://jenkins-server:20015/jenkins/jnlpJars/agent.jar
and start it with: /sharedev/SW/java/jdk-11.0.15.1/bin/java -jar agent.jar -jnlpUrl http://jenkins-server:20015/jenkins/computer/agent-jdk8/jenkins-agent.jnlp -secret abcd1234etc -workDir “/sharedev/acdbadev1/utils/jenkins-agent-jdk8/”
It is now possible to get my problem?
I add you the output of Script Console from how to report an issue, if you also need it after teh upgrade, I have to switch first, please let me know.
Jenkins: 2.346.3
OS: Linux - 3.10.0-1160.76.1.el7.x86_64
---
ant:481.v7b_09e538fcca
antisamy-markup-formatter:2.7
apache-httpcomponents-client-4-api:4.5.13-1.0
bootstrap4-api:4.6.0-3
bootstrap5-api:5.1.3-6
bouncycastle-api:2.26
branch-api:2.7.0
build-timeout:1.20
caffeine-api:2.9.3-65.v6a_47d0f4d1fe
checks-api:1.7.4
cloudbees-folder:6.714.v79e858ef76a_2
command-launcher:1.6
credentials:1087.1089.v2f1b_9a_b_040e4
display-url-api:2.3.6
echarts-api:5.3.3-1
email-ext:2.87
external-monitor-job:192.ve979ca_8b_3ccd
font-awesome-api:6.0.0-1
jackson2-api:2.13.3-285.vc03c0256d517
javadoc:217.v905b_86277a_2a_
javax-activation-api:1.2.0-3
javax-mail-api:1.6.2-5
jaxb:2.3.6-1
jdk-tool:1.5
jnr-posix-api:3.1.7-1
jquery3-api:3.6.0-4
jsch:0.1.55.2
junit:1119.1121.vc43d0fc45561
ldap:2.8
mailer:408.vd726a_1130320
mapdb-api:1.0.9.0
matrix-auth:3.1
matrix-project:758.v7a_ea_491852f3
maven-plugin:3.16
next-build-number:1.8
pam-auth:1.7
plain-credentials:1.8
plugin-util-api:2.16.0
popper-api:1.16.1-2
popper2-api:2.11.5-1
scm-api:608.vfa_f971c5a_a_e9
script-security:1189.vb_a_b_7c8fd5fde
snakeyaml-api:1.29.1
ssh-credentials:1.19
ssh-slaves:1.33.0
sshd:3.236.ved5e1b_cb_50b_2
structs:324.va_f5d6774f3a_d
subversion:2.16.0
token-macro:277.v7c8f82a_d66b_3
translation:1.16
trilead-api:1.0.13
versioncolumn:2.2
windows-slaves:1.8.1
workflow-api:1164.v760c223ddb_32
workflow-scm-step:2.13
workflow-step-api:625.vd896b_f445a_f8
workflow-support:839.v35e2736cfd5c
zentimestamp:4.2
if you need more, let me know. thx