Fingerprint

Module for jenkinsapi Fingerprint

class jenkinsapi.fingerprint.Fingerprint(baseurl: str, id_: str, jenkins_obj: Jenkins)[source]

Bases: JenkinsBase

Represents a jenkins fingerprint on a single artifact file ??

RE_MD5 = re.compile('^([0-9a-z]{32})$')
get_info()[source]

Returns a tuple of build-name, build# and artifact filename for a good build.

get_jenkins_obj() Jenkins[source]
valid() bool[source]

Return True / False if valid. If returns True, self.unknown is set to either True or False, and can be checked if we have positive validity (fingerprint known at server) or negative validity (fingerprint not known at server, but not really an error).

validate() bool[source]
validate_for_build(filename: str, job: str, build: int) bool[source]