Class LibraryStep

java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.workflow.libs.LibraryStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

public class LibraryStep extends org.jenkinsci.plugins.workflow.steps.Step
Dynamically injects a library into the running build.
  • Constructor Details

    • LibraryStep

      @DataBoundConstructor public LibraryStep(String identifier)
  • Method Details

    • getIdentifier

      public String getIdentifier()
    • getRetriever

      public LibraryRetriever getRetriever()
    • getChangelog

      public Boolean getChangelog()
    • setRetriever

      @DataBoundSetter public void setRetriever(LibraryRetriever retriever)
    • setChangelog

      @DataBoundSetter public void setChangelog(Boolean changelog)
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception