Skip to main content
Version: Next

CurrentClaimedTask

Home > @backstage/plugin-scaffolder-backend > CurrentClaimedTask

Stores the state of the current claimed task passed to the TaskContext

Signature:

export interface CurrentClaimedTask 

Properties

Property

Modifiers

Type

Description

createdBy?

string

(Optional) The creator of the task.

secrets?

TaskSecrets

(Optional) The secrets that are stored with the task.

spec

TaskSpec

The TaskSpec of the current claimed task.

state?

JsonObject

(Optional) The state of checkpoints of the task.

taskId

string

The uuid of the current claimed task.

workspace?

Promise<Buffer>

(Optional) The workspace of the task.