Class RunIdStore
- java.lang.Object
-
- org.jenkinsci.plugins.uniqueid.IdStore<Run>
-
- org.jenkinsci.plugins.uniqueid.implv2.RunIdStore
-
- All Implemented Interfaces:
ExtensionPoint
@Extension(ordinal=1.0) public class RunIdStore extends IdStore<Run>
Manages Unique IDs for Runs. Whilst we could use thePersistenceRootIdStore
that will create extra files for every single build. A build already has a unique identifier (build number / build id) and a parent job can have a unique ID, so we build one from the parent and our build number to save creating a file.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description RunIdStore()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(Run run)
Get the id for this given object.void
make(Run run)
Creates an unique id for the given object.
-