- All Implemented Interfaces:
- IOpenShiftParameterOverrides, IOpenShiftPluginDescriptor, hudson.model.Saveable
- Direct Known Subclasses:
- OpenShiftBuilder.DescriptorImpl, OpenShiftBuildVerifier.DescriptorImpl, OpenShiftDeployer.DescriptorImpl, OpenShiftDeploymentVerifier.DescriptorImpl, OpenShiftExec.DescriptorImpl, OpenShiftScaler.DescriptorImpl, OpenShiftScalerPostAction.DescriptorImpl
public abstract class TimedBuildStepDescriptor<T extends hudson.tasks.BuildStep & hudson.model.Describable<T>>
extends hudson.tasks.BuildStepDescriptor<T>
implements IOpenShiftPluginDescriptor
Extending this descriptor imbues subclasses with a global Jenkins timeout
setting.
Theory of operation: 1. Each timed operation which exposes a global timeout
extends this descriptor. 2. The descriptor will persist/restore a global
wait/waitUnit for the operation type. 3. Classes wishing to share the same
timeout value (e.g. DSL steps) should access the timeout value through
GlobalConfig. 4. GlobalConfig will load the correct descriptor to read the
currently configured timeout value. 5. The host for the global config option
must have a global.jelly for setting the value from Jenkins Configure. See
examples like:
src/main/resources/com/openshift/jenkins/plugins/pipeline/OpenShiftExec
/global.jelly