API reference¶
- class api4jenkins.AsyncJenkins(url: str, **kwargs: Any)[source]¶
-
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property credentials: AsyncCredentials¶
- property crumb: dict[str, str]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- property nodes: AsyncNodes¶
- property plugins: AsyncPluginsManager¶
- property queue: AsyncQueue¶
- property system: AsyncSystem¶
- property users: AsyncUsers¶
- property version: str¶
- property views: AsyncViews¶
- class api4jenkins.Jenkins(url: str, **kwargs: Any)[source]¶
Constructs
Jenkins.- Parameters:
url – URL of Jenkins server,
strauth – (optional) Auth
tupleto enable Basic/Digest/Custom HTTP Auth.**kwargs – other kwargs are same as httpx.Client
Usage:
>>> from api4jenkins import Jenkins >>> j = Jenkins('http://127.0.0.1:8080/', auth=('admin', 'admin')) >>> print(j) <Jenkins: http://127.0.0.1:8080/> >>> j.version '2.176.2'
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- build_job(full_name: str, **params: Any) Any[source]¶
Build job with/without params
- Parameters:
full_name –
str, full name of jobparams – parameters for building, support delay and remote token
- Returns:
QueueItem
Usage:
>>> from api4jenkins import Jenkins >>> j = Jenkins('http://127.0.0.1:8080/', auth=('admin', 'admin')) >>> item = j.build_job('freestylejob') >>> import time >>> while not item.get_build(): ... time.sleep(1) >>> build = item.get_build() >>> print(build) <FreeStyleBuild: http://127.0.0.1:8080/job/freestylejob/1/> >>> for line in build.progressive_output(): ... print(line) ...
- copy_job(full_name: str, dest: str) Any[source]¶
Create job by copying other job, the source job and dest job are in same folder.
- Parameters:
full_name – full name of source job
dest – name of new job
Usage:
>>> from api4jenkins import Jenkins >>> j = Jenkins('http://127.0.0.1:8080/', auth=('admin', 'admin')) >>> j.copy_job('folder/freestylejob', 'newjob') >>> j.get_job('folder/newjob') >>> print(job) <FreeStyleProject: http://127.0.0.1:8080/job/folder/job/newjob/>
- create_job(full_name: str, xml: str, recursive: bool = False) Any[source]¶
Create new jenkins job with given xml configuration
- Parameters:
full_name –
str, full name of jobxml – xml configuration string
recursive – (optional) Boolean, recursively create folder if not existed
Usage:
>>> from api4jenkins import Jenkins >>> j = Jenkins('http://127.0.0.1:8080/', auth=('admin', 'admin')) >>> xml = """<?xml version='1.1' encoding='UTF-8'?> ... <project> ... <builders> ... <hudson.tasks.Shell> ... <command>echo $JENKINS_VERSION</command> ... </hudson.tasks.Shell> ... </builders> ... </project>""" >>> j.create_job('freestylejob', xml) >>> job = j.get_job('freestylejob') >>> print(job) <FreeStyleProject: http://127.0.0.1:8080/job/freestylejob/>
- property credentials: Credentials¶
- property crumb: dict[str, str]¶
- delete_job(full_name: str) None[source]¶
Delete job
- Parameters:
full_name –
str, full name of job
Usage:
>>> from api4jenkins import Jenkins >>> j = Jenkins('http://127.0.0.1:8080/', auth=('admin', 'admin')) >>> job = j.get_job('freestylejob') >>> print(job) <FreeStyleProject: http://127.0.0.1:8080/job/freestylejob/> >>> j.delete_job('freestylejob') >>> job = j.get_job('freestylejob') >>> print(job) None
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_job(full_name: str) Item | None[source]¶
Get job by full name
- Parameters:
full_name –
str, full name of job- Returns:
Corresponding Job object or None
Usage:
>>> from api4jenkins import Jenkins >>> j = Jenkins('http://127.0.0.1:8080/', auth=('admin', 'admin')) >>> job = j.get_job('freestylejob') >>> print(job) <FreeStyleProject: http://127.0.0.1:8080/job/freestylejob/>
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter(depth: int = 0) Iterator[Item][source]¶
Iterate jobs with depth
- Parameters:
depth –
int, depth to iterate, default is 0- Returns:
iterator of jobs
Usage:
>>> from api4jenkins import Jenkins >>> j = Jenkins('http://127.0.0.1:8080/', auth=('admin', 'admin')) >>> for job in j.iter(): ... print(job) <FreeStyleProject: http://127.0.0.1:8080/job/freestylejob/> ...
- property plugins: PluginsManager¶
- validate_jenkinsfile(content: str) str[source]¶
validate Jenkinsfile, see https://www.jenkins.io/doc/book/pipeline/development/#linter
- Args:
content (str): content of Jenkinsfile
- Returns:
str: ‘Jenkinsfile successfully validated.’ if validate successful or error message
- property version: str¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- class api4jenkins.job.AsyncExternalJob(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[Any]¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async build(**params: Any) AsyncQueueItem¶
- property building: bool¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- async filter_builds_by_result(*, result: str) AsyncIterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- async get(number: int | str) Any | None¶
- async get_parameters() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_all_builds() AsyncIterator[Any]¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- async set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.AsyncFolder(jenkins: Any, url: str)[source]¶
- async aiter(depth: int = 0) AsyncIterator[Any][source]¶
Override base AsyncItem.aiter() to provide async job iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- property credentials: AsyncCredentials¶
- async delete() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- property full_display_name: str¶
- property full_name: str¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- url: str¶
- class api4jenkins.job.AsyncFreeStyleProject(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[Any]¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async build(**params: Any) AsyncQueueItem¶
- property building: bool¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- async filter_builds_by_result(*, result: str) AsyncIterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- async get(number: int | str) Any | None¶
- async get_parameters() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_all_builds() AsyncIterator[Any]¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- async set_next_build_number(number: int) None¶
- url: str¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- class api4jenkins.job.AsyncIvyModuleSet(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[Any]¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async build(**params: Any) AsyncQueueItem¶
- property building: bool¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- async filter_builds_by_result(*, result: str) AsyncIterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- async get(number: int | str) Any | None¶
- async get_parameters() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_all_builds() AsyncIterator[Any]¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- async set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.AsyncJob(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- property full_display_name: str¶
- property full_name: str¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- jenkins: Any¶
- property name: str¶
- property parent¶
- async set_description(text: str) Any¶
- url: str¶
- class api4jenkins.job.AsyncMatrixProject(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[Any]¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async build(**params: Any) AsyncQueueItem¶
- property building: bool¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- async filter_builds_by_result(*, result: str) AsyncIterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- async get(number: int | str) Any | None¶
- async get_parameters() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_all_builds() AsyncIterator[Any]¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- async set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.AsyncMavenModuleSet(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[Any]¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async build(**params: Any) AsyncQueueItem¶
- property building: bool¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- async filter_builds_by_result(*, result: str) AsyncIterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- async get(number: int | str) Any | None¶
- async get_parameters() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_all_builds() AsyncIterator[Any]¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- async set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.AsyncMultiJobProject(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[Any]¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async build(**params: Any) AsyncQueueItem¶
- property building: bool¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- async filter_builds_by_result(*, result: str) AsyncIterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- async get(number: int | str) Any | None¶
- async get_parameters() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_all_builds() AsyncIterator[Any]¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- async set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.AsyncOrganizationFolder(jenkins: Any, url: str)[source]¶
- async aiter(depth: int = 0) AsyncIterator[Any]¶
Override base AsyncItem.aiter() to provide async job iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property buildable: bool¶
- async configure(xml: str | None = None) Any¶
- async copy(src: str, dest: str) Response¶
- async create(name: str, xml: str) Response¶
- property credentials: AsyncCredentials¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- property full_display_name: str¶
- property full_name: str¶
- async get(name: str) Any | None¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async reload() Response¶
- async rename(name: str) Response¶
- async scan(delay: int = 0) Response¶
- async set_description(text: str) Any¶
- url: str¶
- class api4jenkins.job.AsyncPipelineMultiBranchDefaultsProject(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[Any]¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async build(**params: Any) AsyncQueueItem¶
- property building: bool¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- async filter_builds_by_result(*, result: str) AsyncIterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- async get(number: int | str) Any | None¶
- async get_parameters() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_all_builds() AsyncIterator[Any]¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- async set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.AsyncProject(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[Any][source]¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async build(**params: Any) AsyncQueueItem[source]¶
- property building: bool¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- async filter_builds_by_result(*, result: str) AsyncIterator[Any][source]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- url: str¶
- class api4jenkins.job.AsyncWorkflowJob(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[Any]¶
Override base AsyncItem.aiter() to provide async build iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async build(**params: Any) AsyncQueueItem¶
- property building: bool¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- async filter_builds_by_result(*, result: str) AsyncIterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- async get(number: int | str) Any | None¶
- async get_parameters() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_all_builds() AsyncIterator[Any]¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- async set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.AsyncWorkflowMultiBranchProject(jenkins: Any, url: str)[source]¶
- async aiter(depth: int = 0) AsyncIterator[Any]¶
Override base AsyncItem.aiter() to provide async job iteration. Note: This intentionally changes the return type from Coroutine to AsyncIterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property buildable: bool¶
- async configure(xml: str | None = None) Any¶
- async copy(src: str, dest: str) Response¶
- async create(name: str, xml: str) Response¶
- property credentials: AsyncCredentials¶
- async delete() Any¶
- async disable() Any¶
- async duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- async enable() Any¶
- async exists() bool¶
- property full_display_name: str¶
- property full_name: str¶
- async get(name: str) Any | None¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- jenkins: Any¶
- async move(path: str) Response¶
- property name: str¶
- property parent¶
- async reload() Response¶
- async rename(name: str) Response¶
- async set_description(text: str) Any¶
- url: str¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- class api4jenkins.job.ExternalJob(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property building: bool¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- filter_builds_by_result(*, result: str) Iterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- get(number: int | str) Any | None¶
- get_parameters() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() Iterator[Any]¶
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- iter_all_builds() Iterator[Any]¶
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.Folder(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- property credentials: Credentials¶
- delete() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- property full_display_name: str¶
- property full_name: str¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter(depth: int = 0) Iterator[Any][source]¶
Override base Item.iter() to provide job iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- url: str¶
- class api4jenkins.job.FreeStyleProject(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property building: bool¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- filter_builds_by_result(*, result: str) Iterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- get(number: int | str) Any | None¶
- get_parameters() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() Iterator[Any]¶
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- iter_all_builds() Iterator[Any]¶
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- set_next_build_number(number: int) None¶
- url: str¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- class api4jenkins.job.IvyModuleSet(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property building: bool¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- filter_builds_by_result(*, result: str) Iterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- get(number: int | str) Any | None¶
- get_parameters() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() Iterator[Any]¶
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- iter_all_builds() Iterator[Any]¶
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.Job(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- property full_display_name: str¶
- property full_name: str¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- jenkins: Any¶
- property name: str¶
- property parent: Any¶
- set_description(text: str) Any¶
- url: str¶
- class api4jenkins.job.MatrixProject(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property building: bool¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- filter_builds_by_result(*, result: str) Iterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- get(number: int | str) Any | None¶
- get_parameters() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() Iterator[Any]¶
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- iter_all_builds() Iterator[Any]¶
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.MavenModuleSet(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property building: bool¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- filter_builds_by_result(*, result: str) Iterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- get(number: int | str) Any | None¶
- get_parameters() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() Iterator[Any]¶
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- iter_all_builds() Iterator[Any]¶
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.MultiJobProject(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property building: bool¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- filter_builds_by_result(*, result: str) Iterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- get(number: int | str) Any | None¶
- get_parameters() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() Iterator[Any]¶
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- iter_all_builds() Iterator[Any]¶
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.NameMixIn[source]¶
- property full_display_name: str¶
- property full_name: str¶
- jenkins: Any¶
- url: str¶
- class api4jenkins.job.OrganizationFolder(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property buildable: bool¶
- configure(xml: str | None = None) Any¶
- copy(src: str, dest: str) Response¶
- create(name: str, xml: str) Response¶
- property credentials: Credentials¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- property full_display_name: str¶
- property full_name: str¶
- get(name: str) Any | None¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter(depth: int = 0) Iterator[Any]¶
Override base Item.iter() to provide job iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- reload() Response¶
- rename(name: str) Response¶
- scan(delay: int = 0) Response¶
- set_description(text: str) Any¶
- url: str¶
- class api4jenkins.job.PipelineMultiBranchDefaultsProject(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property building: bool¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- filter_builds_by_result(*, result: str) Iterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- get(number: int | str) Any | None¶
- get_parameters() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() Iterator[Any]¶
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- iter_all_builds() Iterator[Any]¶
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.Project(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property building: bool¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- filter_builds_by_result(*, result: str) Iterator[Any][source]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() Iterator[Any][source]¶
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- url: str¶
- class api4jenkins.job.WorkflowJob(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property building: bool¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- filter_builds_by_result(*, result: str) Iterator[Any]¶
filter build by build results, avaliable results are: ‘SUCCESS’, ‘UNSTABLE’, ‘FAILURE’, ‘NOT_BUILT’, ‘ABORTED’ see: https://javadoc.jenkins-ci.org/hudson/model/Result.html
- property full_display_name: str¶
- property full_name: str¶
- get(number: int | str) Any | None¶
- get_parameters() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() Iterator[Any]¶
Override base Item.iter() to provide build iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- iter_all_builds() Iterator[Any]¶
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- set_next_build_number(number: int) None¶
- url: str¶
- class api4jenkins.job.WorkflowMultiBranchProject(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property buildable: bool¶
- configure(xml: str | None = None) Any¶
- copy(src: str, dest: str) Response¶
- create(name: str, xml: str) Response¶
- property credentials: Credentials¶
- delete() Any¶
- disable() Any¶
- duplicate(path: str, recursive: bool = False) None¶
- property dynamic_attrs: list[str]¶
- enable() Any¶
- exists() bool¶
- property full_display_name: str¶
- property full_name: str¶
- get(name: str) Any | None¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter(depth: int = 0) Iterator[Any]¶
Override base Item.iter() to provide job iteration. Note: This intentionally changes the return type from NoReturn to Iterator as part of the design pattern where base class prohibits iteration but concrete implementations enable it.
- jenkins: Any¶
- move(path: str) Response¶
- property name: str¶
- property parent: Any¶
- reload() Response¶
- rename(name: str) Response¶
- set_description(text: str) Any¶
- url: str¶
- class api4jenkins.build.AsyncBuild(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get_causes() list[dict[str, Any]]¶
- async get_coverage_report() AsyncCoverageReport | None[source]¶
Access coverage report generated by JaCoCo
- async get_coverage_result() AsyncCoverageResult | None[source]¶
Access coverage result generated by Code Coverage API
- async get_coverage_trends() AsyncCoverageTrends | None[source]¶
- async get_next_build() AsyncBuild | None[source]¶
- async get_previous_build() AsyncBuild | None[source]¶
- async get_test_report() AsyncTestReport | None[source]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- property project: Any¶
- async set_description(text: str) Any¶
- class api4jenkins.build.AsyncFreeStyleBuild(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async console_text() AsyncIterator[str]¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get_causes() list[dict[str, Any]]¶
- async get_coverage_report() AsyncCoverageReport | None¶
Access coverage report generated by JaCoCo
- async get_coverage_result() AsyncCoverageResult | None¶
Access coverage result generated by Code Coverage API
- async get_coverage_trends() AsyncCoverageTrends | None¶
- async get_next_build() AsyncBuild | None¶
- async get_previous_build() AsyncBuild | None¶
- async get_test_report() AsyncTestReport | None¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async kill() Response¶
- async progressive_output(html: bool = False) AsyncIterator[str]¶
- property project: Any¶
- async set_description(text: str) Any¶
- async stop() Response¶
- async term() Response¶
- class api4jenkins.build.AsyncMatrixBuild(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async console_text() AsyncIterator[str]¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get_causes() list[dict[str, Any]]¶
- async get_coverage_report() AsyncCoverageReport | None¶
Access coverage report generated by JaCoCo
- async get_coverage_result() AsyncCoverageResult | None¶
Access coverage result generated by Code Coverage API
- async get_coverage_trends() AsyncCoverageTrends | None¶
- async get_next_build() AsyncBuild | None¶
- async get_previous_build() AsyncBuild | None¶
- async get_test_report() AsyncTestReport | None¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async kill() Response¶
- async progressive_output(html: bool = False) AsyncIterator[str]¶
- property project: Any¶
- async set_description(text: str) Any¶
- async stop() Response¶
- async term() Response¶
- class api4jenkins.build.AsyncStage(jenkins: Any, raw: dict[str, Any])[source]¶
Async variant of
Stage.Access stage attributes as snake_case async properties (e.g.
await stage.name,await stage.status). Iterate to getAsyncStepobjects within the stage.- async aiter() AsyncIterator[AsyncStep][source]¶
Iterate async steps in this stage. Always fetches fresh detail.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.build.AsyncStep(jenkins: Any, raw: dict[str, Any])[source]¶
Async variant of
Step.Access step attributes as snake_case async properties (e.g.
await step.name,await step.status).- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get_log() dict[str, Any] | None[source]¶
Return step log output as a dict, or None if no log link exists.
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.build.AsyncWorkflowRun(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[AsyncStage][source]¶
async iterate pipeline stages
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property artifacts: list[Artifact]¶
- async console_text() AsyncIterator[str]¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get_causes() list[dict[str, Any]]¶
- async get_coverage_report() AsyncCoverageReport | None¶
Access coverage report generated by JaCoCo
- async get_coverage_result() AsyncCoverageResult | None¶
Access coverage result generated by Code Coverage API
- async get_coverage_trends() AsyncCoverageTrends | None¶
- async get_next_build() AsyncBuild | None¶
- async get_pending_input() PendingInputAction | None[source]¶
get current pending input step
- async get_previous_build() AsyncBuild | None¶
- async get_test_report() AsyncTestReport | None¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async kill() Response¶
- async progressive_output(html: bool = False) AsyncIterator[str]¶
- property project: Any¶
- async set_description(text: str) Any¶
- async stop() Response¶
- async term() Response¶
- class api4jenkins.build.Build(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_causes() list[dict[str, Any]]¶
- get_coverage_report() CoverageReport | None[source]¶
Access coverage report generated by JaCoCo
- get_coverage_result() CoverageResult | None[source]¶
Access coverage result generated by Code Coverage API
- get_coverage_trends() CoverageTrends | None[source]¶
- get_test_report() TestReport | None[source]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- property project: Any¶
- set_description(text: str) Any¶
- class api4jenkins.build.FreeStyleBuild(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- console_text() Iterator[str]¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_causes() list[dict[str, Any]]¶
- get_coverage_report() CoverageReport | None¶
Access coverage report generated by JaCoCo
- get_coverage_result() CoverageResult | None¶
Access coverage result generated by Code Coverage API
- get_coverage_trends() CoverageTrends | None¶
- get_test_report() TestReport | None¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- kill() Response¶
- progressive_output(html: bool = False) Iterator[str]¶
- property project: Any¶
- set_description(text: str) Any¶
- stop() Response¶
- term() Response¶
- class api4jenkins.build.MatrixBuild(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- console_text() Iterator[str]¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_causes() list[dict[str, Any]]¶
- get_coverage_report() CoverageReport | None¶
Access coverage report generated by JaCoCo
- get_coverage_result() CoverageResult | None¶
Access coverage result generated by Code Coverage API
- get_coverage_trends() CoverageTrends | None¶
- get_test_report() TestReport | None¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- kill() Response¶
- progressive_output(html: bool = False) Iterator[str]¶
- property project: Any¶
- set_description(text: str) Any¶
- stop() Response¶
- term() Response¶
- class api4jenkins.build.Stage(jenkins: Any, raw: dict[str, Any])[source]¶
Represents a stage in a pipeline build.
Access stage attributes as snake_case properties (e.g.
stage.name,stage.status). Iterate to getStepobjects within the stage. Each iteration fetches fresh detail from the stage endpoint because pipeline data may change during a running build.- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.build.Step(jenkins: Any, raw: dict[str, Any])[source]¶
Represents a step within a pipeline stage.
Access step attributes as snake_case properties (e.g.
step.name,step.status). Useget_log()to retrieve step log output if available.- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_log() dict[str, Any] | None[source]¶
Return step log output as a dict, or None if no log link exists.
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.build.WorkflowRun(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property artifacts: list[Artifact]¶
- console_text() Iterator[str]¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_causes() list[dict[str, Any]]¶
- get_coverage_report() CoverageReport | None¶
Access coverage report generated by JaCoCo
- get_coverage_result() CoverageResult | None¶
Access coverage result generated by Code Coverage API
- get_coverage_trends() CoverageTrends | None¶
- get_pending_input() PendingInputAction | None[source]¶
get current pending input step
- get_test_report() TestReport | None¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- kill() Response¶
- progressive_output(html: bool = False) Iterator[str]¶
- property project: Any¶
- set_description(text: str) Any¶
- stop() Response¶
- term() Response¶
- class api4jenkins.input.AsyncPendingInputAction(jenkins: Any, raw: dict[str, Any])[source]¶
-
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.input.PendingInputAction(jenkins: Any, raw: dict[str, Any])[source]¶
this class implement functionality to process input step
- abort() Any[source]¶
submit input step
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- submit(**params: Any) Any[source]¶
submit input step
- if input requires parameters:
if submit without parameters, it will use default value of parameters
if submit with wrong parameters, exception raised
if input does not requires parameters, but submit with parameters, exception raised
- class api4jenkins.queue.AsyncBlockedItem(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async cancel() Response¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get_build() AsyncBuild | None¶
- async get_causes() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.queue.AsyncBuildableItem(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async cancel() Response¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get_build() AsyncBuild | None¶
- async get_causes() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.queue.AsyncLeftItem(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async cancel() Response¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get_build() AsyncBuild | None¶
- async get_causes() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.queue.AsyncQueue(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get(id: str) AsyncQueueItem | None[source]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.queue.AsyncQueueItem(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get_build() AsyncBuild | None[source]¶
- async get_causes() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.queue.AsyncWaitingItem(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async cancel() Response¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get_build() AsyncBuild | None¶
- async get_causes() list[dict[str, Any]]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.queue.BlockedItem(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- cancel() Response¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_causes() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.queue.BuildableItem(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- cancel() Response¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_causes() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.queue.LeftItem(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- cancel() Response¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_causes() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.queue.Queue(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.queue.QueueItem(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_causes() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.queue.WaitingItem(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- cancel() Response¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get_causes() list[dict[str, Any]]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.credential.AsyncCredential(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- property name: str¶
- class api4jenkins.credential.AsyncCredentials(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[AsyncDomain][source]¶
Override AsyncItem.aiter() to provide async domain iteration. Note: This intentionally changes the return type from None to AsyncIterator.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get(name: str) AsyncDomain | None[source]¶
- property global_domain: AsyncDomain¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.credential.AsyncDomain(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[AsyncCredential][source]¶
Override AsyncItem.aiter() to provide async credential iteration. Note: This intentionally changes the return type from None to AsyncIterator.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get(id: str) AsyncCredential | None[source]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- property name: str¶
- class api4jenkins.credential.Credential(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- property name: str¶
- class api4jenkins.credential.Credentials(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.credential.Domain(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get(id: str) Credential | None[source]¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() Iterator[Credential][source]¶
Override Item.iter() to provide credential iteration. Note: This intentionally changes the return type from None to Iterator.
- property name: str¶
- class api4jenkins.node.AsyncDockerComputer(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable(msg: str = '') Response | None¶
- property dynamic_attrs: list[str]¶
- async enable() Response | None¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_building_builds() AsyncIterator[AsyncBuild]¶
- async iter_builds() AsyncIterator[AsyncBuild]¶
Override AsyncItem.iter_builds() to provide async build iteration. Note: This intentionally changes the return type.
- property name: str¶
- async run_script(script: str) str¶
- class api4jenkins.node.AsyncEC2Computer(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable(msg: str = '') Response | None¶
- property dynamic_attrs: list[str]¶
- async enable() Response | None¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_building_builds() AsyncIterator[AsyncBuild]¶
- async iter_builds() AsyncIterator[AsyncBuild]¶
Override AsyncItem.iter_builds() to provide async build iteration. Note: This intentionally changes the return type.
- property name: str¶
- async run_script(script: str) str¶
- class api4jenkins.node.AsyncIterBuildingBuildsMixIn[source]¶
- async iter_building_builds() AsyncIterator[AsyncBuild][source]¶
- abstractmethod async iter_builds() AsyncIterator[AsyncBuild][source]¶
- class api4jenkins.node.AsyncKubernetesComputer(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable(msg: str = '') Response | None¶
- property dynamic_attrs: list[str]¶
- async enable() Response | None¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_building_builds() AsyncIterator[AsyncBuild]¶
- async iter_builds() AsyncIterator[AsyncBuild]¶
Override AsyncItem.iter_builds() to provide async build iteration. Note: This intentionally changes the return type.
- property name: str¶
- async run_script(script: str) str¶
- class api4jenkins.node.AsyncMasterComputer(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable(msg: str = '') Response | None¶
- property dynamic_attrs: list[str]¶
- async enable() Response | None¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_building_builds() AsyncIterator[AsyncBuild]¶
- async iter_builds() AsyncIterator[AsyncBuild]¶
Override AsyncItem.iter_builds() to provide async build iteration. Note: This intentionally changes the return type.
- property name: str¶
- async run_script(script: str) str¶
- class api4jenkins.node.AsyncNode(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_building_builds() AsyncIterator[AsyncBuild]¶
- async iter_builds() AsyncIterator[AsyncBuild][source]¶
Override AsyncItem.iter_builds() to provide async build iteration. Note: This intentionally changes the return type.
- property name: str¶
- async run_script(script: str) str¶
- class api4jenkins.node.AsyncNodes(jenkins: Any, url: str)[source]¶
- async aiter() AsyncIterator[AsyncNode][source]¶
Override AsyncItem.aiter() to provide async node iteration. Note: This intentionally changes the return type.
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_building_builds() AsyncIterator[AsyncBuild]¶
- async iter_builds() AsyncIterator[AsyncBuild][source]¶
Override AsyncItem.iter_builds() to provide async build iteration. Note: This intentionally changes the return type.
- class api4jenkins.node.AsyncSlaveComputer(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- async disable(msg: str = '') Response | None¶
- property dynamic_attrs: list[str]¶
- async enable() Response | None¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async iter_building_builds() AsyncIterator[AsyncBuild]¶
- async iter_builds() AsyncIterator[AsyncBuild]¶
Override AsyncItem.iter_builds() to provide async build iteration. Note: This intentionally changes the return type.
- property name: str¶
- async run_script(script: str) str¶
- class api4jenkins.node.DockerComputer(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable(msg: str = '') Response | None¶
- property dynamic_attrs: list[str]¶
- enable() Response | None¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- iter_builds() Iterator[Build]¶
Override Item.iter_builds() to provide build iteration. Note: This intentionally changes the return type.
- property name: str¶
- run_script(script: str) str¶
- class api4jenkins.node.EC2Computer(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable(msg: str = '') Response | None¶
- property dynamic_attrs: list[str]¶
- enable() Response | None¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- iter_builds() Iterator[Build]¶
Override Item.iter_builds() to provide build iteration. Note: This intentionally changes the return type.
- property name: str¶
- run_script(script: str) str¶
- class api4jenkins.node.KubernetesComputer(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable(msg: str = '') Response | None¶
- property dynamic_attrs: list[str]¶
- enable() Response | None¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- iter_builds() Iterator[Build]¶
Override Item.iter_builds() to provide build iteration. Note: This intentionally changes the return type.
- property name: str¶
- run_script(script: str) str¶
- class api4jenkins.node.MasterComputer(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable(msg: str = '') Response | None¶
- property dynamic_attrs: list[str]¶
- enable() Response | None¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- iter_builds() Iterator[Build]¶
Override Item.iter_builds() to provide build iteration. Note: This intentionally changes the return type.
- property name: str¶
- run_script(script: str) str¶
- class api4jenkins.node.Node(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- iter_builds() Iterator[Build][source]¶
Override Item.iter_builds() to provide build iteration. Note: This intentionally changes the return type.
- property name: str¶
- run_script(script: str) str¶
- class api4jenkins.node.Nodes(jenkins: Any, url: str)[source]¶
classdocs
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.node.SlaveComputer(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- disable(msg: str = '') Response | None¶
- property dynamic_attrs: list[str]¶
- enable() Response | None¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- iter_builds() Iterator[Build]¶
Override Item.iter_builds() to provide build iteration. Note: This intentionally changes the return type.
- property name: str¶
- run_script(script: str) str¶
- class api4jenkins.plugin.AsyncPlugin(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.plugin.AsyncPluginsManager(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get(name: str) AsyncPlugin | None[source]¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- property installation_done: bool¶
- property restart_required: bool¶
- async set_proxy(name: str, port: int, *, username: str = '', password: str = '', no_proxy: str = '', test_url: str = '') Response[source]¶
- property site: str | None¶
- property update_center: AsyncUpdateCenter¶
- class api4jenkins.plugin.AsyncUpdateCenter(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- property installation_done: bool¶
- property restart_required: bool¶
- property site: str | None¶
- class api4jenkins.plugin.Plugin(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.plugin.PluginsManager(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- property installation_done: bool¶
- iter() None¶
- property restart_required: bool¶
- set_proxy(name: str, port: int, *, username: str = '', password: str = '', no_proxy: str = '', test_url: str = '') Response[source]¶
- property site: str | None¶
- property update_center: UpdateCenter¶
- class api4jenkins.plugin.UpdateCenter(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- property installation_done: bool¶
- iter() None¶
- property restart_required: bool¶
- property site: str | None¶
- class api4jenkins.view.AllView(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exclude(name: str) Response¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- include(name: str) Response¶
- iter() None¶
- property name: str¶
- set_description(text: str) Any¶
- class api4jenkins.view.AsyncAllView(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exclude(name: str) Response¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async include(name: str) Response¶
- property name: str¶
- async set_description(text: str) Any¶
- class api4jenkins.view.AsyncDashboard(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exclude(name: str) Response¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async include(name: str) Response¶
- property name: str¶
- async set_description(text: str) Any¶
- class api4jenkins.view.AsyncListView(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exclude(name: str) Response¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async include(name: str) Response¶
- property name: str¶
- async set_description(text: str) Any¶
- class api4jenkins.view.AsyncMyView(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exclude(name: str) Response¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async include(name: str) Response¶
- property name: str¶
- async set_description(text: str) Any¶
- class api4jenkins.view.AsyncNestedView(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exclude(name: str) Response¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async include(name: str) Response¶
- property name: str¶
- async set_description(text: str) Any¶
- property views: AsyncViews¶
- class api4jenkins.view.AsyncSectionedView(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exclude(name: str) Response¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async include(name: str) Response¶
- property name: str¶
- async set_description(text: str) Any¶
- class api4jenkins.view.AsyncView(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async configure(xml: str | None = None) Any¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- property name: str¶
- async set_description(text: str) Any¶
- class api4jenkins.view.AsyncViews(owner: Any)[source]¶
classdocs
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.view.Dashboard(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exclude(name: str) Response¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- include(name: str) Response¶
- iter() None¶
- property name: str¶
- set_description(text: str) Any¶
- class api4jenkins.view.ListView(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exclude(name: str) Response¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- include(name: str) Response¶
- iter() None¶
- property name: str¶
- set_description(text: str) Any¶
- class api4jenkins.view.MyView(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exclude(name: str) Response¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- include(name: str) Response¶
- iter() None¶
- property name: str¶
- set_description(text: str) Any¶
- class api4jenkins.view.NestedView(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exclude(name: str) Response¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- include(name: str) Response¶
- iter() None¶
- property name: str¶
- set_description(text: str) Any¶
- class api4jenkins.view.SectionedView(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exclude(name: str) Response¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- include(name: str) Response¶
- iter() None¶
- property name: str¶
- set_description(text: str) Any¶
- class api4jenkins.view.View(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- configure(xml: str | None = None) Any¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- property name: str¶
- set_description(text: str) Any¶
- class api4jenkins.view.Views(owner: Any)[source]¶
classdocs
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.system.AsyncSystem(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async run_script(script: str) str¶
- class api4jenkins.system.System(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- run_script(script: str) str¶
- class api4jenkins.user.ApiToken(name, uuid, value)¶
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
- name¶
Alias for field number 0
- uuid¶
Alias for field number 1
- value¶
Alias for field number 2
- class api4jenkins.user.AsyncUser(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- async delete() Any¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- async set_description(text: str) Any¶
- class api4jenkins.user.AsyncUsers(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.user.User(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- delete() Any¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- set_description(text: str) Any¶
- class api4jenkins.user.Users(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.report.AsyncCoverageReport(jenkins: Any, url: str)[source]¶
Access coverage report generated by JaCoCo
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get(name: str) T¶
Get an item by name from the async iterable.
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- report_types: ClassVar[list[str]] = ['branchCoverage', 'classCoverage', 'complexityScore', 'instructionCoverage', 'lineCoverage', 'methodCoverage']¶
- class api4jenkins.report.AsyncCoverageResult(jenkins: Any, url: str)[source]¶
Access coverage result generated by Code Coverage API
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get(name: str) T¶
Get an item by name from the async iterable.
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.report.AsyncCoverageTrends(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get(name: str) T¶
Get an item by name from the async iterable.
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.report.AsyncGetMixIn[source]¶
Base class providing async iteration and item lookup functionality.
Note: Uses async generators which may show type checking limitations in Pylance. The implementation is correct and works at runtime despite type checker warnings.
- class api4jenkins.report.AsyncTestReport(jenkins: Any, url: str)[source]¶
- async api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- async exists() bool¶
- async get(name: str) T¶
Get an item by name from the async iterable.
- async handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) AsyncIterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.report.CoverageReport(jenkins: Any, url: str)[source]¶
Access coverage report generated by JaCoCo
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get(name: str) Any¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- report_types: ClassVar[list[str]] = ['branchCoverage', 'classCoverage', 'complexityScore', 'instructionCoverage', 'lineCoverage', 'methodCoverage']¶
- class api4jenkins.report.CoverageResult(jenkins: Any, url: str)[source]¶
Access coverage result generated by Code Coverage API
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get(name: str) Any¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.report.CoverageTrends(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get(name: str) Any¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.report.TestReport(jenkins: Any, url: str)[source]¶
- api_json(tree: str = '', depth: int = 0) dict[str, Any]¶
- property dynamic_attrs: list[str]¶
- exists() bool¶
- get(name: str) Any¶
- handle_req(method: str, entry: str, **kwargs: Any) Response¶
- handle_stream(method: str, entry: str, **kwargs: Any) Iterator[Response]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- iter() None¶
- class api4jenkins.item.AsyncItem(jenkins: Any, url: str)[source]¶
-
- property dynamic_attrs: list[str]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.item.BaseItem(jenkins: Any, url: str)[source]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- class api4jenkins.item.Item(jenkins: Any, url: str)[source]¶
-
- property dynamic_attrs: list[str]¶
- headers: ClassVar[dict[str, str]] = {'Content-Type': 'text/xml; charset=utf-8'}¶
- api4jenkins.item.new_item(jenkins: Any, module: str, item: dict[str, Any]) Any¶
- api4jenkins.item.snake(name: str) str¶
- class api4jenkins.mix.Parameter(class_name, name, value)¶
- class_name¶
Alias for field number 0
- count(value, /)¶
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)¶
Return first index of value.
Raises ValueError if the value is not present.
- name¶
Alias for field number 1
- value¶
Alias for field number 2
- exception api4jenkins.exceptions.AuthenticationError[source]¶
- add_note(note, /)¶
Add a note to the exception
- args¶
- with_traceback(tb, /)¶
Set self.__traceback__ to tb and return self.
- exception api4jenkins.exceptions.BadRequestError[source]¶
- add_note(note, /)¶
Add a note to the exception
- args¶
- with_traceback(tb, /)¶
Set self.__traceback__ to tb and return self.
- exception api4jenkins.exceptions.ItemExistsError[source]¶
- add_note(note, /)¶
Add a note to the exception
- args¶
- with_traceback(tb, /)¶
Set self.__traceback__ to tb and return self.
- exception api4jenkins.exceptions.ItemNotFoundError[source]¶
- add_note(note, /)¶
Add a note to the exception
- args¶
- with_traceback(tb, /)¶
Set self.__traceback__ to tb and return self.
- exception api4jenkins.exceptions.JenkinsAPIException[source]¶
- add_note(note, /)¶
Add a note to the exception
- args¶
- with_traceback(tb, /)¶
Set self.__traceback__ to tb and return self.