Interface ExecutionPhaseService

All Known Implementing Classes:
ExecutionPhaseServiceImpl, RemoteExecutionPhaseServiceImpl

@ExperimentalApi @Internal public interface ExecutionPhaseService
Methods of this interface are called during execution process.
  • Method Summary

    Modifier and Type
    Method
    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, 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)
    Deprecated.
    since 9.3 not really related to actual VCS operations
  • Method Details

    • queued

      void queued(@NotNull @NotNull CommonContext context)
      This is executed on the server when the build/deployment gets put on the queue
      Parameters:
      context -
    • sentToAgent

      void sentToAgent(@NotNull @NotNull CommonContext context, long agentId)
      This is executed on the server when the build/deployment is sent to an agent.
      Parameters:
      context -
    • agentAssigned

      void agentAssigned(@NotNull @NotNull CommonContext context, long agentId)
      This is executed on the agent when agent accepts the build/deployment.
    • vcsSyncStarted

      @Deprecated void vcsSyncStarted(@NotNull @NotNull CommonContext context)
      Deprecated.
      since 9.3 not really related to actual VCS operations
      This is executed on the agent
    • executionStarted

      void executionStarted(@NotNull @NotNull CommonContext context)
      Marks start of tasks execution. This is executed on the agent
    • executionCancelled

      void executionCancelled(@NotNull @NotNull ResultKey resultKey, boolean buildActuallyCancelled)
      Marks confirmation of build cancellation request. This is executed on the agent
    • executionFinished

      void executionFinished(@NotNull @NotNull CommonContext context)
      Marks finish of tasks execution. This is executed on the agent