public class Build extends Object
Modifier and Type | Field and Description |
---|---|
Date |
created
The initial creation time of the build.
|
String |
eventId
The GitHub webhook deliveryId.
|
String |
eventType
Type of Github event that triggered the build (i.e. push, pull_request.opened).
|
String |
organization
Github organization associated with the build.
|
String |
repository
Github repository associated with the build.
|
String |
sha
Github revision associated with the build.
|
String |
state
Github status associated with the build.
|
String |
taskGroupId
Taskcluster task-group associated with the build.
|
Date |
updated
The last updated of the build.
|
Constructor and Description |
---|
Build() |
public Date created
The initial creation time of the build. This is when it became pending.
public String eventId
The GitHub webhook deliveryId. Extracted from the header ‘X-GitHub-Delivery’
public String eventType
Type of Github event that triggered the build (i.e. push, pull_request.opened).
public String organization
Github organization associated with the build.
Syntax: ^([a-zA-Z0-9-_%]*)$ Min length: 1 Max length: 100
public String repository
Github repository associated with the build.
Syntax: ^([a-zA-Z0-9-_%]*)$ Min length: 1 Max length: 100
public String sha
Github revision associated with the build.
Min length: 40 Max length: 40
See https://schemas.taskcluster.net/github/v1/build-list.json#/properties/builds/items/properties/sha
public String state
Github status associated with the build.
Possible values: * “pending” * “success” * “error” * “failure”
See https://schemas.taskcluster.net/github/v1/build-list.json#/properties/builds/items/properties/state
public String taskGroupId
Taskcluster task-group associated with the build.
Syntax: ^[A-Za-z0-9_-]{8}[Q-T][A-Za-z0-9_-][CGKOSWaeimquy26-][A-Za-z0-9_-]{10}[AQgw]$
public Date updated
The last updated of the build. If it is done, this is when it finished.
Copyright © 2014–2018 Mozilla. All rights reserved.