-
Notifications
You must be signed in to change notification settings - Fork 45
Task Results
Mike Holt edited this page Oct 23, 2018
·
2 revisions
The task results JSON document describes the results of all tasks once a job execution has finished (reached a terminal state).
A valid task results is a JSON document with the following structure:
{
"version": STRING,
"tasks": [{
"task_id": STRING,
"type": STRING,
"was_launched": BOOLEAN,
"launched": STRING,
"was_started": BOOLEAN,
"started": STRING,
"was_timed_out": BOOLEAN,
"ended": STRING,
"status": STRING,
"exit_code": INTEGER
}]
}
Type: String
Required: No
Defines the version of the configuration specification used. This allows updates to be made to the specification while maintaining backwards compatibility by allowing Scale to recognize an olderversion
and convert it to the current version. The default value, if not included, is the latestversion
(currently1.0
).
Type: Array
Required: No
Array of objects that describe each task in the execution. Each task object has the following fields:
-
Type: String
Required: Yes
Defines the unique Scale ID for the task. -
Type: String
Required: Yes
Defines the type of the task and only has the following valid values:pull
,pre
,main
, orpost
. -
Type: Boolean
Required: Yes
Indicates whether the task was launched. -
Type: String
Required: No
ISO-8601
formatted datetime describing when the task was launched. -
Type: Boolean
Required: No
Indicates whether the task started running. -
Type: String
Required: No
ISO-8601
formatted datetime describing when the task started running. -
Type: Boolean
Required: No
Indicates whether the task timed out. -
Type: String
Required: No
ISO-8601
formatted datetime describing when the task ended. -
Type: String
Required: No
Describes the final status of the task. The valid values areFAILED
,COMPLETED
, andCANCELED
. -
Type: Integer
Required: No
Describes the exit code returned by the task execution.
- Home
- What's New
-
In-depth Topics
- Enable Scale to run CUDA GPU optimized algorithms
- Enable Scale to store secrets securely
- Test Scale's scan capability on the fly
- Test Scale's workspace broker capability on the fly
- Scale Performance Metrics
- Private docker repository configuration
- Setting up Automated Snapshots for Elasticsearch
- Setting up Cluster Monitoring
- Developer Notes