Class BuildLabeller
java.lang.Object
com.atlassian.bamboo.plugins.labeller.BuildLabeller
- All Implemented Interfaces:
CustomBuildProcessorServer
,BambooPluginModule
,BuildTask
,HibernateBuildTask
,Callable<BuildContext>
Server side processor which reads build result metadata and adds labels to build result entity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContext
call()
This action will run after a build has completed.void
init
(@NotNull BuildContext buildContext) void
setBuildLogFileAccessorFactory
(BuildLogFileAccessorFactory buildLogFileAccessorFactory) void
setCachedPlanManager
(CachedPlanManager cachedPlanManager) void
setLabelManager
(LabelManager labelManager) void
setResultsSummaryManager
(ResultsSummaryManager resultsSummaryManager)
-
Constructor Details
-
BuildLabeller
public BuildLabeller()
-
-
Method Details
-
init
-
call
This action will run after a build has completed.The build will be tagged with a specified set of labels if the logs matches the specified regex pattern.
- Specified by:
call
in interfaceBuildTask
- Specified by:
call
in interfaceCallable<BuildContext>
- Throws:
InterruptedException
- if the callingThread
has been interrupted.Exception
- A general exception that will be handled.
-
setLabelManager
-
setBuildLogFileAccessorFactory
-
setCachedPlanManager
-
setResultsSummaryManager
-