@ThreadSafe public interface BuildExecutionManager
@NotNull @Deprecated List<CurrentlyBuilding> getCurrentlyExecutingBuilds()
getCurrentlyExecuting()@NotNull Iterable<CurrentlyBuilding> getCurrentlyExecuting()
@NotNull @Deprecated List<CurrentlyBuilding> getCurrentlyExecutingBuilds(String planKey)
getCurrentlyExecuting(com.atlassian.bamboo.plan.PlanKey)Iterable<CurrentlyBuilding> getCurrentlyExecuting(PlanKey planKey)
@NotNull @Deprecated List<CurrentlyBuilding> getCurrentlyBuilding(@NotNull String planKey)
getCurrentlyBuilding(com.atlassian.bamboo.Key)planKey - @NotNull List<CurrentlyBuilding> getCurrentlyBuilding(@NotNull Key key)
@Deprecated @Nullable CurrentlyBuilding removeCurrentlyBuilding(@NotNull String planKey)
removeCurrentlyBuilding(com.atlassian.bamboo.ResultKey)@Nullable CurrentlyBuilding removeCurrentlyBuilding(@NotNull ResultKey resultKey)
void setCurrentlyBuilding(@NotNull
BuildContext buildContext,
@NotNull
Collection<BuildAgent> executableAgents,
@NotNull
Collection<ElasticImageConfiguration> executableImages)
buildContext - -executableAgents - - a list of agents on which this build can be run.executableImages - - a list of images on which the build can be run.@Nullable CurrentlyBuilding getBuildRunningOnAgent(@NotNull Long buildAgentId)
void finishBuildWithCleanState(@NotNull
PlanResultKey planResultKey,
@NotNull
BuildContext buildContext)
finishBuild(PlanResultKey) instead.planResultKey - identifies plan resultvoid finishBuild(@NotNull
PlanResultKey planResultKey)
planResultKey - identifies plan resultvoid execute(@NotNull
BuildContext buildContext)
BuildContext
At this point a BuildResultsSummary exists that matches the given BuildContextbuildContext - @Deprecated @Nullable CurrentlyBuilding getCurrentlyBuildingByBuildResultKey(@NotNull String buildResultKey)
CurrentlyBuilding instance for build identified by buildResultKey.
Should be used only if BuildIdentifier is not available - basically in actionsbuildResultKey - @Nullable CurrentlyBuilding getCurrentlyBuildingByPlanResultKey(@NotNull ResultKey resultKey)
CurrentlyBuilding instance for build identified by buildResultKey.
Should be used only if BuildIdentifier is not available - basically in actionsresultKey - @Nullable CurrentlyBuilding getCurrentlyBuildingByBuildResult(@NotNull BuildIdentifier buildIdentifier)
CurrentlyBuilding instance for build identifier (or BuildContext).buildIdentifier - Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.