1

Multiple Jenkins Servers

Hi, we have multiple jenkins server running jobs with the same name.

Example:
Server01 has jobs JobA, JobB and JobC
Server02 has jobs JobA, JobB and JobC

For the setup of catlight we first configured Server01, then Server02. Both to monitor those jobs.

Now when clicking on a job for Server02, we will be redirected to the jenkins build page of Server01.
When adding a third server, Server03, with the same jobs, these will also redirect to Server01.

Grtz,

1 reply

Catlight requires a globally unique id for each job. For Jenkins, this id is constructed using Jenkins server public key and job path.

If the Jenkins server VM was cloned, or configuration parameters were cloned, then all other server instances will have the same public key, and jobs will have the same id, that would no longer be unique. This could cause problems that you experienced. 

You can confirm this, by making http request to server and checking X-Instance-Identity response header for each of them. If they are the same, then server configuration was cloned.

More details at https://wiki.jenkins-ci.org/display/JENKINS/Instance+Identity