Main class to interact with a Jenkins server.
Get a list of tuples with (name, color) of all jobs in the server.
Color is blue, yellow or red depending on build results (SUCCESS, UNSTABLE or FAILED).
Trigger Jenkins to build a job.
Parameters: | wait – If True, wait until job completes building before returning |
---|
Copy a job from another one (by default from one called template).
Create a job from a configuration file.
Create a job from a template job.
Delete a job.
Trigger Jenkins to disable a job.
Trigger Jenkins to enable a job.
Get the config.xml file that contains the job definition.
Check if a job is building
Get all information for a job as a Python object (dicts & lists).
Get the human-browseable URL for a job.
Get information for last build of a job.
Get full report of last build.
Obtain results from last execution.
Return information about the last successful build.
Replace the config.xml of an existing job.
Copy a job to another server.
Wait until job has finished building