pyjen.user module

Primitives for interacting with Jenkins users

class pyjen.user.User(api)[source]

Bases: object

Interface to all primitives associated with a Jenkins user

See also

author()

See also

find_user()

Parameters

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

description

descriptive text associated with the user.

May be an empty string if no description found.

Return type

str

email

Gets this users’ email address as reported by Jenkins.

May be None if no email on record for user.

Return type

str

full_name

the users first and last names separated by a space

Return type

str

user_id

Gets the unique identifier for this user

Return type

str