pyjen.changeset module
Primitives for interacting with SCM changesets
- class pyjen.changeset.Changeset(api, data)[source]
Bases:
object
Represents a set of SCM revisions associated with a
Build
of aJob
.See
changeset()
for details.- Parameters
api (JenkinsAPI) – Pre-initialized connection to the Jenkins REST API
data (dict) – Dictionary of data elements typically parsed from the “changeSet” node of a builds source data as provided by the Jenkins REST API.
- property affected_items
details of the individual commits associated with a build
- Type
- property has_changes
True if there are SCM changes associated with this changeset, False if not
- Type