Unique Id Plugin

This plugin provides an API to create and store persistent permanently unique id's for Jenkins model objects. This is useful when those objects need to be stored in an external database.

There are currently identity stores for Runs/Builds, Jobs/Projects and Folders. Additional stores can be added via the org.jenkinsci.plugins.uniqueid.IdStore extension point.


To create an id for a supported object, just call org.jenkinsci.plugins.uniqueid.IdStore#makeId(Object o). To get the id (if any) call org.jenkinsci.plugins.uniqueid.IdStore#getId(Object o)