get_build_log
Get Build Log
Retrieve Jenkins build log lines with forward, end-relative, and cursor pagination.
get_build_log
Retrieve Jenkins build log lines with forward, end-relative, and cursor pagination.
get_flaky_failures
Retrieve Jenkins JUnit test cases that contain exported flakyFailure entries for a build.
who_am_i
Return the Jenkins identity visible to the authenticated API token using /me/api/json.
list_jobs
List Jenkins jobs in the root or a folder, sorted by name with skip/limit pagination, optional folder recursion, and optional name filtering.
get_replay_scripts
Fetch Pipeline Replay main script and loaded scripts for a Jenkins build when the Pipeline Replay HTTP page is available.
get_queue_item
Get a Jenkins queue item by id, including task details, scheduling reason, and executable build when assigned.
trigger_build
Trigger a Jenkins job build, using buildWithParameters when parameters are provided and build otherwise.
get_build_changesets
Get Jenkins build changesets with commit ids, messages, authors, timestamps, and affected paths. Defaults to the last build when no build number is provided.
search_build_log
Search Jenkins build console logs for matching lines, using progressive log reads and bounded result counts.
get_build_scm
Retrieve Git SCM metadata attached to a Jenkins build, including repository URIs, built branches, and commit when Jenkins exposes Git BuildData.
get_job_scm
Read a Jenkins job config.xml and summarize SCM classes, repository URLs, branches, credential ids, and Git SCM configs.
get_job
Get Jenkins job details, including status color, buildability, health reports, and recent build references.
rebuild_build
Re-run a Jenkins build. Defaults to the last build, uses Pipeline Replay when available, and otherwise triggers the job with parameters copied from the source build.
get_build
Get Jenkins build details by build number, defaulting to the last build when no build number is provided. Jenkins last-build selectors such as lastSuccessfulBuild are also supported.
get_status
Get Jenkins controller health/readiness, queue, and executor status using /api/json, /queue/api/json, and /computer/api/json.
update_build
Update a Jenkins build display name and/or description through stock Jenkins build HTTP endpoints. Omitted or empty fields are ignored.
replay_build
Run Jenkins Pipeline Replay for a build when Jenkins exposes the Pipeline Replay HTTP run endpoint.
find_jobs_with_scm_url
Find Jenkins jobs whose Git SCM configuration loosely matches a repository URL and optional branch.
get_test_results
Get Jenkins JUnit test report counts, suites, and representative failing test cases for a build.
Inspect Jenkins CI jobs and builds, trigger and replay builds, read queues and logs, summarize test and SCM metadata, and check controller status through Jenkins Remote Access API endpoints.
Common questions about connecting Jenkins to AI agents with Metorial.