A jenkins build represents a single execution of a Jenkins Job.
Builds can be thought of as the second level of the jenkins heirarchy beneath Jobs. Builds can have state, such as whether they are running or not. They can also have outcomes, such as wether they passed or failed.
Build objects can be associated with Results and Artifacts.g
Represents a jenkins build, executed in context of a job.
Returns a list of causes. There can be multiple causes lists and some of the can be empty. For instance, when a build is manually aborted, Jenkins could add an empty causes list to the actions dict. Empty ones are ignored.
Get the downstream builds for this build :return List of Build or None
Get the downstream job names for this build :return List of string or None
Get the master build number if it exist, None otherwise :return: int or None
Get the master job object if it exist, None otherwise :return: Job or None
Get the master job name if it exist, None otherwise :return: String or None
For a matrix job, get the individual builds for each matrix configuration :return: Generator of Build
Get the upstream build if it exist, None otherwise :return Build or None
Get the upstream build number if it exist, None otherwise :return: int or None
Get the upstream job object if it exist, None otherwise :return: Job or None
Get the upstream job name if it exist, None otherwise :return: String or None