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
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContextcall()This action will run after a build has completed.voidinit(@NotNull BuildContext buildContext) voidsetBuildLogFileAccessorFactory(BuildLogFileAccessorFactory buildLogFileAccessorFactory) voidsetCachedPlanManager(CachedPlanManager cachedPlanManager) voidsetLabelManager(LabelManager labelManager) voidsetResultsSummaryManager(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:
callin interfaceBuildTask- Specified by:
callin interfaceCallable<BuildContext>- Throws:
InterruptedException- if the callingThreadhas been interrupted.Exception- A general exception that will be handled.
-
setLabelManager
-
setBuildLogFileAccessorFactory
-
setCachedPlanManager
-
setResultsSummaryManager
-