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
  • Constructor Details

    • OpenShiftGlobalVariable

      public OpenShiftGlobalVariable()
  • Method Details

    • getName

      @Nonnull public String getName()
      Specified by:
      getName in class org.jenkinsci.plugins.workflow.cps.GlobalVariable
    • getValue

      @Nonnull public Object getValue(@Nonnull org.jenkinsci.plugins.workflow.cps.CpsScript script) throws Exception
      Specified by:
      getValue in class org.jenkinsci.plugins.workflow.cps.GlobalVariable
      Throws:
      Exception