Class BuildNameUpdater
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jenkinsci.plugins.buildnameupdater.BuildNameUpdater
- All Implemented Interfaces:
ExtensionPoint,Describable<Builder>,BuildStep
This plugin replace the build name with the first line from a file on a slave.
- Author:
- Lev Mishin
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionBuildNameUpdater(boolean fromFile, String buildName, boolean fromMacro, String macroTemplate, boolean macroFirst) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanperform(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, prebuild
-
Constructor Details
-
BuildNameUpdater
-
-
Method Details
-
getFromFile
public boolean getFromFile() -
getMacroFirst
public boolean getMacroFirst() -
getFromMacro
public boolean getFromMacro() -
getBuildName
-
getMacroTemplate
-
perform
- Specified by:
performin interfaceBuildStep- Overrides:
performin classBuildStepCompatibilityLayer
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<Builder>- Overrides:
getDescriptorin classBuilder
-