Package jenkins.plugins.itemstorage.gcs
Class GCSItemStorage
java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.plugins.itemstorage.ItemStorage<GCSObjectPath>>
jenkins.plugins.itemstorage.ItemStorage<GCSObjectPath>
jenkins.plugins.itemstorage.gcs.GCSItemStorage
- All Implemented Interfaces:
ExtensionPoint,Describable<jenkins.plugins.itemstorage.ItemStorage<GCSObjectPath>>,Serializable
Google Cloud Storage implementation of the jobcacher
ItemStorage extension point.
Authentication is Application Default Credentials (ADC) — Workload Identity on GKE,
GOOGLE_APPLICATION_CREDENTIALS, or gcloud user credentials locally. No HMAC keys and no
service-account JSON are configured here.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classKeeps the cache in GCS in sync with item lifecycle events on the controller.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetObjectPath(Item item, String path) getObjectPathForBranch(Item item, String path, String branch) voidvoidsetProjectId(String projectId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Describable
getDescriptor
-
Constructor Details
-
GCSItemStorage
-
-
Method Details
-
getBucketName
-
getPrefix
-
setPrefix
-
getProjectId
-
setProjectId
-
getObjectPath
- Specified by:
getObjectPathin classjenkins.plugins.itemstorage.ItemStorage<GCSObjectPath>
-
getObjectPathForBranch
- Specified by:
getObjectPathForBranchin classjenkins.plugins.itemstorage.ItemStorage<GCSObjectPath>
-