gitpod.v1.EnvironmentAutomationService
UpdateTaskExecutionStatus
Updates the status of a task execution. Only the environment executing a task execution is expected to call this function.
Use this method to:
- Report execution progress
- Update step status
- Set failure messages
- Provide log URLs
Examples
-
Update execution status:
Updates status with step information.
id: "d2c94c27-3b76-4a42-b88c-95a85e392c68" steps: - id: "step-1" phase: TASK_EXECUTION_PHASE_SUCCEEDED logUrl: "https://logs.gitpod.io/task-123" -
Report failure:
Updates status with failure information.
id: "d2c94c27-3b76-4a42-b88c-95a85e392c68" failureMessage: "Build failed due to missing dependencies" steps: - id: "step-1" phase: TASK_EXECUTION_PHASE_FAILED failureMessage: "npm install failed"
post/gitpod.v1.EnvironmentAutomationService/UpdateTaskExecutionStatus
Request body
Response
Success
GitpodV1UpdateTaskExecutionStatusResponse required