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:
JenkinsAPIExceptionMethod requires POST and not GET
- exception jenkinsapi.custom_exceptions.ArtifactBroken[source]¶
Bases:
JenkinsAPIExceptionAn artifact is broken, wrong
- exception jenkinsapi.custom_exceptions.ArtifactsMissing[source]¶
Bases:
NotFoundCannot find a build with all of the required artifacts.
- exception jenkinsapi.custom_exceptions.BadParams[source]¶
Bases:
JenkinsAPIExceptionInvocation was given bad or inappropriate params
- exception jenkinsapi.custom_exceptions.BadURL[source]¶
Bases:
ValueError,JenkinsAPIExceptionA URL appears to be broken
- exception jenkinsapi.custom_exceptions.FailedNoResults[source]¶
Bases:
NoResultsA build did not publish any results because it failed
- exception jenkinsapi.custom_exceptions.JenkinsAPIException[source]¶
Bases:
ExceptionBase class for all errors
- exception jenkinsapi.custom_exceptions.NoBuildData[source]¶
Bases:
NotFoundA job has no build data.
- exception jenkinsapi.custom_exceptions.NoResults[source]¶
Bases:
JenkinsAPIExceptionA build did not publish any results.
- exception jenkinsapi.custom_exceptions.NotAuthorized[source]¶
Bases:
JenkinsAPIExceptionNot Authorized to access resource
- exception jenkinsapi.custom_exceptions.NotBuiltYet[source]¶
Bases:
NotFoundA job has no build data.
- exception jenkinsapi.custom_exceptions.NotConfiguredSCM[source]¶
Bases:
JenkinsAPIExceptionIt’s a job that doesn’t have configured SCM
- exception jenkinsapi.custom_exceptions.NotFound[source]¶
Bases:
JenkinsAPIExceptionResource cannot be found
- exception jenkinsapi.custom_exceptions.NotInQueue[source]¶
Bases:
JenkinsAPIExceptionIt’s a job that is not in the queue
- exception jenkinsapi.custom_exceptions.NotSupportSCM[source]¶
Bases:
JenkinsAPIExceptionIt’s a SCM that does not supported by current version of jenkinsapi
- exception jenkinsapi.custom_exceptions.PostRequired[source]¶
Bases:
JenkinsAPIExceptionMethod requires POST and not GET
- exception jenkinsapi.custom_exceptions.TimeOut[source]¶
Bases:
JenkinsAPIExceptionSome jobs have taken too long to complete.
- exception jenkinsapi.custom_exceptions.UnknownJob[source]¶
Bases:
KeyError,NotFoundJenkins does not recognize the job requested.
- exception jenkinsapi.custom_exceptions.UnknownNode[source]¶
Bases:
KeyError,NotFoundJenkins does not recognize the node requested.
- exception jenkinsapi.custom_exceptions.UnknownPlugin[source]¶
Bases:
KeyError,NotFoundJenkins does not recognize the plugin requested.