Class 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 Detail

      • LibraryStep

        @DataBoundConstructor
        public LibraryStep​(String identifier)
    • Method Detail

      • getIdentifier

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