Class BuildNameSetter

All Implemented Interfaces:
ExtensionPoint, hudson.matrix.MatrixAggregatable, Describable<BuildWrapper>

public class BuildNameSetter extends BuildWrapper implements hudson.matrix.MatrixAggregatable
Sets the build name at two configurable points during the build.

Once early on in the build, and another time later on.

Author:
Kohsuke Kawaguchi
  • Constructor Details

    • BuildNameSetter

      @DataBoundConstructor public BuildNameSetter(String template, Boolean runAtStart, Boolean runAtEnd)
  • Method Details

    • setDescriptionTemplate

      @DataBoundSetter public void setDescriptionTemplate(String descriptionTemplate)
    • getDescriptionTemplate

      public String getDescriptionTemplate()
    • setTemplate

      @DataBoundSetter public void setTemplate(String template)
    • getTemplate

      public String getTemplate()
    • getRunAtStart

      public Boolean getRunAtStart()
    • getRunAtEnd

      public Boolean getRunAtEnd()
    • readResolve

      protected Object readResolve()
    • setUp

      public BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
      Overrides:
      setUp in class BuildWrapper
    • createAggregator

      public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener)
      Specified by:
      createAggregator in interface hudson.matrix.MatrixAggregatable