Custom_exceptions

Module for custom_exceptions.

Where possible we try to throw exceptions with non-generic, meaningful names.

exception jenkinsapi.custom_exceptions.AlreadyExists[source]

Bases: JenkinsAPIException

Method requires POST and not GET

exception jenkinsapi.custom_exceptions.ArtifactBroken[source]

Bases: JenkinsAPIException

An artifact is broken, wrong

exception jenkinsapi.custom_exceptions.ArtifactsMissing[source]

Bases: NotFound

Cannot find a build with all of the required artifacts.

exception jenkinsapi.custom_exceptions.BadParams[source]

Bases: JenkinsAPIException

Invocation was given bad or inappropriate params

exception jenkinsapi.custom_exceptions.BadURL[source]

Bases: ValueError, JenkinsAPIException

A URL appears to be broken

exception jenkinsapi.custom_exceptions.FailedNoResults[source]

Bases: NoResults

A build did not publish any results because it failed

exception jenkinsapi.custom_exceptions.JenkinsAPIException[source]

Bases: Exception

Base class for all errors

exception jenkinsapi.custom_exceptions.NoBuildData[source]

Bases: NotFound

A job has no build data.

exception jenkinsapi.custom_exceptions.NoResults[source]

Bases: JenkinsAPIException

A build did not publish any results.

exception jenkinsapi.custom_exceptions.NotAuthorized[source]

Bases: JenkinsAPIException

Not Authorized to access resource

exception jenkinsapi.custom_exceptions.NotBuiltYet[source]

Bases: NotFound

A job has no build data.

exception jenkinsapi.custom_exceptions.NotConfiguredSCM[source]

Bases: JenkinsAPIException

It’s a job that doesn’t have configured SCM

exception jenkinsapi.custom_exceptions.NotFound[source]

Bases: JenkinsAPIException

Resource cannot be found

exception jenkinsapi.custom_exceptions.NotInQueue[source]

Bases: JenkinsAPIException

It’s a job that is not in the queue

exception jenkinsapi.custom_exceptions.NotSupportSCM[source]

Bases: JenkinsAPIException

It’s a SCM that does not supported by current version of jenkinsapi

exception jenkinsapi.custom_exceptions.PostRequired[source]

Bases: JenkinsAPIException

Method requires POST and not GET

exception jenkinsapi.custom_exceptions.TimeOut[source]

Bases: JenkinsAPIException

Some jobs have taken too long to complete.

exception jenkinsapi.custom_exceptions.UnknownJob[source]

Bases: KeyError, NotFound

Jenkins does not recognize the job requested.

exception jenkinsapi.custom_exceptions.UnknownNode[source]

Bases: KeyError, NotFound

Jenkins does not recognize the node requested.

exception jenkinsapi.custom_exceptions.UnknownPlugin[source]

Bases: KeyError, NotFound

Jenkins does not recognize the plugin requested.

exception jenkinsapi.custom_exceptions.UnknownQueueItem[source]

Bases: KeyError, NotFound

Jenkins does not recognize the requested queue item

exception jenkinsapi.custom_exceptions.UnknownView[source]

Bases: KeyError, NotFound

Jenkins does not recognize the view requested.