Environment to Run Jenkins swarm-client.jar

Jenkins setup: Jenkins 2.440.3

Hi Jenkins Experts,

I’m trying to figure out what java version do I need to run a given swarm-client.jar downloaded from

${JENKINS_URL}/swarm/swarm-client.jar (ref: GitHub - jenkinsci/swarm-plugin: Jenkins swarm plugin)

The github page specifies JRE to be 11+, but this doesn’t apply to the older version of Jenkins right? Also how can I check the swarm-client.jar version I got from Jenkins?

Thanks in advance!

Use the same JDK version that is running your Jenkins controller. That version is displayed in the system information page that is available under “Manage Jenkins”

1 Like

Thanks Mark! This is great to know. How do I find the corresponding swarm-client version for a Jenkins version? If I follow the instruction for swarm plugin, e.g downloading from ${JENKINS_URL}/swarm/swarm-client.jar

But that doesn’t include any version information

Download the swarm client from that location and that is the correct version. The swarm plugin supports a range of Jenkins versions. If the swarm plugin is installed and enabled on your Jenkins controller, then download from that URL will provide the correct swarm-client.jar file.

I didn’t find a way to report the version that is included in the swarm-client jar file. The version information is stored in META-INF/maven/org.jenkins-ci.plugins/swarm-client/pom.xml inside the jar file, but there does not seem to be a command line argument that reports the swarm client jar file version number.

1 Like

This is good to know. Thank you!