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 classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
Constructor Summary
ConstructorDescriptionBuildNameUpdater
(boolean fromFile, String buildName, boolean fromMacro, String macroTemplate, boolean macroFirst) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
perform
(AbstractBuild build, Launcher launcher, BuildListener listener) Methods inherited from class hudson.tasks.Builder
all, getRequiredMonitorService, prebuild
Methods 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:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Builder>
- Overrides:
getDescriptor
in classBuilder
-