Package hudson.plugins.ansicolor
Class AnsiColorBuildWrapper
java.lang.Object
hudson.model.AbstractDescribableImpl<BuildWrapper>
hudson.tasks.BuildWrapper
jenkins.tasks.SimpleBuildWrapper
hudson.plugins.ansicolor.AnsiColorBuildWrapper
- All Implemented Interfaces:
ExtensionPoint,Describable<BuildWrapper>,Serializable
Build wrapper that decorates the build's logger to filter output with
AnsiHtmlOutputStream.- Author:
- Daniel Doubrovkine
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRegistersAnsiColorBuildWrapperas aBuildWrapper.Nested classes/interfaces inherited from class jenkins.tasks.SimpleBuildWrapper
SimpleBuildWrapper.Context, SimpleBuildWrapper.DisposerNested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.EnvironmentNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
ConstructorsConstructorDescriptionAnsiColorBuildWrapper(String colorMapName) Create a newAnsiColorBuildWrapper. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) Methods inherited from class jenkins.tasks.SimpleBuildWrapper
createContext, createLoggerDecorator, decorateLauncher, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, requiresWorkspace, runPreCheckout, setUp, setUpMethods inherited from class hudson.tasks.BuildWrapper
all, getProjectAction, setUp
-
Constructor Details
-
AnsiColorBuildWrapper
Create a newAnsiColorBuildWrapper.- Parameters:
colorMapName- Name of the color map to use
-
-
Method Details
-
getColorMapName
-
getDescriptor
- Specified by:
getDescriptorin interfaceDescribable<BuildWrapper>- Overrides:
getDescriptorin classAbstractDescribableImpl<BuildWrapper>
-
setUp
public void setUp(SimpleBuildWrapper.Context context, Run<?, ?> build, FilePath workspace, Launcher launcher, TaskListener listener, EnvVars initialEnvironment) throws IOException, InterruptedException- Overrides:
setUpin classSimpleBuildWrapper- Throws:
IOExceptionInterruptedException
-