pyjen.queue module

Abstration around the Jenkins build queue

class pyjen.queue.Queue(api)[source]

Bases: object

Abstraction around the Jenkins build queue

Parameters

api (/utils/jenkins_api/JenkinsAPI) – Pre-initialized connection to the Jenkins REST API

items

Gets a list of scheduled builds waiting in the queue

Return type

list of QueueItem