Class UserDefinedGlobalVariableList

java.lang.Object
org.jenkinsci.plugins.workflow.cps.GlobalVariableSet
org.jenkinsci.plugins.workflow.cps.global.UserDefinedGlobalVariableList
All Implemented Interfaces:
ExtensionPoint, Iterable<org.jenkinsci.plugins.workflow.cps.GlobalVariable>

@Extension public class UserDefinedGlobalVariableList extends org.jenkinsci.plugins.workflow.cps.GlobalVariableSet
Keeps UserDefinedGlobalVariables in ExtensionList up-to-date from $JENKINS_HOME/workflow-libs/vars/*.groovy.
Author:
Kohsuke Kawaguchi
  • Constructor Details

    • UserDefinedGlobalVariableList

      public UserDefinedGlobalVariableList()
  • Method Details

    • rebuild

      public void rebuild()
      Rebuilds the list of UserDefinedGlobalVariables and update ExtensionList accordingly.
    • forRun

      public Collection<org.jenkinsci.plugins.workflow.cps.GlobalVariable> forRun(Run<?,?> run)
      Overrides:
      forRun in class org.jenkinsci.plugins.workflow.cps.GlobalVariableSet