public class BuildLabeller extends Object implements CustomBuildProcessorServer
| Constructor and Description |
|---|
BuildLabeller() |
| Modifier and Type | Method and Description |
|---|---|
@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) |
public void init(@NotNull
@NotNull BuildContext buildContext)
@NotNull public @NotNull BuildContext call() throws Exception
The build will be tagged with a specified set of labels if the logs matches the specified regex pattern.
call in interface BuildTaskcall in interface Callable<BuildContext>InterruptedException - if the calling Thread has been interrupted.Exception - A general exception that will be handled.public void setLabelManager(LabelManager labelManager)
public void setBuildLogFileAccessorFactory(BuildLogFileAccessorFactory buildLogFileAccessorFactory)
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.