pyjen.build module
Primitives for interacting with Jenkins builds
- class pyjen.build.Build(api)[source]
Bases:
object
information about a single build / run of a
Job
- Parameters
api (JenkinsAPI) – Pre-initialized connection to the Jenkins REST API
- property changeset
Description of 0 or more SCM revisions associated with / included in this build
- Type
- property description
Gets the descriptive text associated with this build. May be an empty string if no description given.
- Type
- property duration
total runtime of the build, in milliseconds. Returns 0 if build hasn’t finished
- Type
- property estimated_duration
Estimated runtime for a running build, in milliseconds. Estimate is based off average duration of previous builds
- Type
- property result
state of the associated job upon completion of this build. Typically one of the following:
“SUCCESS”
“UNSTABLE”
“FAILURE”
“ABORTED”
- Type
- property start_time
time stamp of when this build was started
- Type