Serialized Form
-
Package org.jenkins.plugins.lockableresources
-
Class org.jenkins.plugins.lockableresources.LockableResource extends AbstractDescribableImpl<LockableResource> implements Serializable
- serialVersionUID:
- 1L
-
Serialization Methods
-
readResolve
protected Object readResolve()
-
-
Serialized Fields
-
buildExternalizableId
String buildExternalizableId
-
description
String description
-
ephemeral
boolean ephemeral
We can use arbitrary identifier in a temporary lock (e.g. a commit hash of built/tested sources), and not overwhelm Jenkins with lots of "garbage" locks. Such locks will be automatically removed when freed, if they were not explicitly declared in the Jenkins Configure System page. If an originally ephemeral lock is later defined in configuration, it becomes a usual persistent lock. If a "usual" lock definition is deleted while it is being held, it becomes ephemeral and will disappear when freed. -
labelsAsList
List<String> labelsAsList
-
name
String name
-
note
String note
-
properties
List<LockableResourceProperty> properties
-
queuedContexts
List<org.jenkinsci.plugins.workflow.steps.StepContext> queuedContexts
Deprecated.Replaced with LockableResourcesManager.queuedContexts (since 1.11)Was used within the initial implementation of Pipeline functionality usingLockStep
, but became deprecated once several resources could be locked at once. See queuedContexts inLockableResourcesManager
. -
queueItemId
long queueItemId
-
queueItemProject
String queueItemProject
-
queuingStarted
long queuingStarted
-
reservedBy
String reservedBy
-
reservedTimestamp
Date reservedTimestamp
-
stolen
boolean stolen
Track that a currently reserved resource was originally reserved for someone else, or locked for some other job, and explicitly taken away - e.g. for SUT post-mortem while a test job runs. Currently this does not track "who" it was taken from nor intend to give it back - just for bookkeeping and UI button naming. Cleared when the resource is unReserve'd.
-
-
Class org.jenkins.plugins.lockableresources.LockableResourceProperty extends AbstractDescribableImpl<LockableResourceProperty> implements Serializable
- serialVersionUID:
- 1L
-
Class org.jenkins.plugins.lockableresources.LockStep extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
- serialVersionUID:
- -953609907239674360L
-
Serialized Fields
-
extra
List<LockStepResource> extra
-
inversePrecedence
boolean inversePrecedence
-
label
String label
-
priority
int priority
-
quantity
int quantity
-
resource
String resource
-
resourceSelectStrategy
String resourceSelectStrategy
-
skipIfLocked
boolean skipIfLocked
-
variable
String variable
name of environment variable to store locked resources in
-
-
Class org.jenkins.plugins.lockableresources.LockStepExecution extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl implements Serializable
- serialVersionUID:
- 1391734561272059623L
-
Serialized Fields
-
step
LockStep step
-
-
Class org.jenkins.plugins.lockableresources.LockStepResource extends AbstractDescribableImpl<LockStepResource> implements Serializable
- serialVersionUID:
- 1L
-
-
Package org.jenkins.plugins.lockableresources.queue
-
Class org.jenkins.plugins.lockableresources.queue.LockableResourcesStruct extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
label
String label
-
queuedAt
long queuedAt
-
required
List<LockableResource> required
-
requiredNumber
String requiredNumber
-
requiredVar
String requiredVar
-
serializableResourceMatchScript
SerializableSecureGroovyScript serializableResourceMatchScript
-
-
Class org.jenkins.plugins.lockableresources.queue.QueuedContextStruct extends Object implements Serializable
- serialVersionUID:
- 1L
-
Serialized Fields
-
context
org.jenkinsci.plugins.workflow.steps.StepContext context
-
id
String id
-
lockableResourcesStruct
List<LockableResourcesStruct> lockableResourcesStruct
-
priority
int priority
-
resourceDescription
String resourceDescription
-
variableName
String variableName
-
-
-
Package org.jenkins.plugins.lockableresources.util
-
Class org.jenkins.plugins.lockableresources.util.SerializableSecureGroovyScript extends Object implements Serializable
- serialVersionUID:
- 1L
-