public interface StopBuildManager
Modifier and Type | Method and Description |
---|---|
void |
cancelAllBuilds(PlanKey planKey,
boolean abandonResult)
Will stop all builds running for plan identified by
PlanKey |
void |
cancelBuild(PlanResultKey planResultKey,
boolean abandonResult)
Cancel a running build optionally abandoning the result
|
void |
cancelDeployment(ResultKey resultKey,
Long deploymentResultId,
Long agentId)
Cancel a running deployment
|
void |
stopAgentNicely(BuildAgent buildAgent)
Will tell an agent to stop after it's finished the current build
|
void cancelBuild(@NotNull PlanResultKey planResultKey, boolean abandonResult)
planResultKey
- abandonResult
- InterruptedException
void cancelDeployment(@NotNull ResultKey resultKey, @NotNull Long deploymentResultId, Long agentId)
resultKey
- deploymentResultId
- agentId
- void stopAgentNicely(@NotNull BuildAgent buildAgent)
buildAgent
- void cancelAllBuilds(@NotNull PlanKey planKey, boolean abandonResult) throws InterruptedException
PlanKey
planKey
- abandonResult
- InterruptedException
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.