Reputation: 80194
It is documented that each Jenkins instance has a unique id that we can retrieve by doing a GET. I am unable to find it. For e.g. do a GET on https://builds.apache.org/api/json and see the response headers
Upvotes: 0
Views: 1617
Reputation: 6513
The https://builds.apache.org/ URL has it. Emphasis mine:
the public key can be obtained by sending the GET request to the top page of Jenkins, and look for the "X-Instance-Identity" header in the response
Upvotes: 3