Class PullRequestGlobalVariable

java.lang.Object
org.jenkinsci.plugins.workflow.cps.GlobalVariable
org.jenkinsci.plugins.pipeline.github.PullRequestGlobalVariable
All Implemented Interfaces:
ExtensionPoint

public class PullRequestGlobalVariable extends org.jenkinsci.plugins.workflow.cps.GlobalVariable
Factory for our PullRequestGroovyObject instance.
Author:
Aaron Whiteside
See Also:
  • Constructor Details

    • PullRequestGlobalVariable

      public PullRequestGlobalVariable()
  • 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