зеркало из https://github.com/mozilla/treeherder.git
42 строки
1.5 KiB
JSON
42 строки
1.5 KiB
JSON
{
|
|
"id": "https://treeherder.mozilla.org/schemas/v1/job-action-message.json#",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "Notification of a job retrigger",
|
|
"description": "Event is dispatched when user/service issues a retrigger on a job",
|
|
"type": "object",
|
|
"properties": {
|
|
"version": {
|
|
"title": "Message-format version",
|
|
"enum": [1]
|
|
},
|
|
"project": {
|
|
"title": "Project Name",
|
|
"description": "Identifier for treeherder project, like `try` or `mozilla-central`.",
|
|
"type": "string"
|
|
},
|
|
"job_guid": {
|
|
"title": "Job Guid",
|
|
"description": "Project unique identifier for a single job",
|
|
"type": "string"
|
|
},
|
|
"job_id": {
|
|
"title": "Job ID",
|
|
"description": "Project unique identifier for a single job",
|
|
"type": "number"
|
|
},
|
|
"action": {
|
|
"title": "Action",
|
|
"description": "Type of action issued on task",
|
|
"enum": ["backfill", "cancel", "retrigger"],
|
|
"type": "string"
|
|
},
|
|
"requester": {
|
|
"title": "Requester",
|
|
"description": "The requester of the action (usually an email)",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": true,
|
|
"required": ["version", "job_guid", "project", "action", "requester"]
|
|
}
|