Class OpenShiftGlobalVariable
java.lang.Object
org.jenkinsci.plugins.workflow.cps.GlobalVariable
com.openshift.jenkins.plugins.pipeline.OpenShiftGlobalVariable
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class OpenShiftGlobalVariable
extends org.jenkinsci.plugins.workflow.cps.GlobalVariable
Defines the "openshift" global variable in pipeline DSL scripts. It's
attributes are defined by the content of
resources/com/openshift/jenkins/plugins/OpenShiftGlobalVariable.groovy
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariable
ALL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.cps.GlobalVariable
byName, forJob, forRun
-
Constructor Details
-
OpenShiftGlobalVariable
public OpenShiftGlobalVariable()
-
-
Method Details
-
getName
- Specified by:
getNamein classorg.jenkinsci.plugins.workflow.cps.GlobalVariable
-
getValue
@Nonnull public Object getValue(@Nonnull org.jenkinsci.plugins.workflow.cps.CpsScript script) throws Exception - Specified by:
getValuein classorg.jenkinsci.plugins.workflow.cps.GlobalVariable- Throws:
Exception
-