@ExperimentalApi
@Internal
public interface ExecutionPhaseService
Modifier and Type | Method and Description |
---|---|
void |
agentAssigned(@NotNull CommonContext context,
long agentId)
This is executed on the agent when agent accepts the build/deployment.
|
void |
executionCancelled(@NotNull ResultKey resultKey,
@Nullable Long deploymentResultId,
boolean buildActuallyCancelled)
Marks confirmation of build cancellation request.
|
void |
executionFinished(@NotNull CommonContext context)
Marks finish of tasks execution.
|
void |
executionStarted(@NotNull CommonContext context)
Marks start of tasks execution.
|
void |
queued(@NotNull CommonContext context)
This is executed on the server when the build/deployment gets put on the queue
|
void |
sentToAgent(@NotNull CommonContext context,
long agentId)
This is executed on the server when the build/deployment is sent to an agent.
|
void |
vcsSyncStarted(@NotNull CommonContext context)
This is executed on the agent
|
void queued(@NotNull @NotNull CommonContext context)
context
- void sentToAgent(@NotNull @NotNull CommonContext context, long agentId)
context
- void agentAssigned(@NotNull @NotNull CommonContext context, long agentId)
void vcsSyncStarted(@NotNull @NotNull CommonContext context)
void executionStarted(@NotNull @NotNull CommonContext context)
void executionCancelled(@NotNull @NotNull ResultKey resultKey, @Nullable @Nullable Long deploymentResultId, boolean buildActuallyCancelled)
void executionFinished(@NotNull @NotNull CommonContext context)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.