Jenkins
Source: https://runstack.engineer/docs/toolkits/jenkins
Jobs, builds, console logs, queues, agents, views, and plugins via the Jenkins Remote Access API.
Tools (32):
| Tool | Description |
|---|---|
jenkinsListJobs | List jobs on the Jenkins controller with name, status color and build state. Use first to discover job names. |
jenkinsGetJob | Get details of a Jenkins job: description, disabled state, health reports and recent builds. |
jenkinsGetJobConfig | Get the raw config.xml of a Jenkins job to read SCM, triggers and builder configuration. |
jenkinsCreateJob | Create a new Jenkins job from a config.xml document. |
jenkinsCopyJob | Copy an existing Jenkins job to a new name instead of hand-writing config.xml. |
jenkinsUpdateJobConfig | Update a Jenkins job by replacing its config.xml with a full replacement document. |
jenkinsEnableJob | Enable a disabled Jenkins job so it can be built and triggered again. |
jenkinsDisableJob | Disable a Jenkins job so no new builds are scheduled (running builds continue). |
jenkinsDeleteJob | Permanently delete a Jenkins job and all of its builds and artifacts. |
jenkinsListBuilds | List recent builds of a Jenkins job with number, result, building state and duration. |
jenkinsGetBuild | Get details of a single Jenkins build: result, duration, artifacts, change sets and culprits. |
jenkinsGetLastBuild | Get a symbolic build of a job (lastBuild, lastSuccessfulBuild, lastFailedBuild, lastCompletedBuild, lastStableBuild) without knowing its number. |
jenkinsGetConsoleLog | Get the full console output of a Jenkins build to diagnose failures. |
jenkinsGetProgressiveLog | Page through a Jenkins build log with the progressiveText API; also works for live-tailing running builds. |
jenkinsGetTestReport | Get the aggregated JUnit test report of a Jenkins build with pass/fail/skip counts. |
jenkinsTriggerBuild | Trigger a new build of a Jenkins job without parameters. Returns the queue item URL for tracking. |
jenkinsTriggerParameterizedBuild | Trigger a new build of a parameterized Jenkins job with a key-value parameter map. |
jenkinsStopBuild | Abort a running Jenkins build (marked ABORTED, kept in history). |
jenkinsDeleteBuild | Permanently delete a single Jenkins build with its log, artifacts and test results. |
jenkinsGetServerInfo | Get Jenkins controller info: version, jobs/views overview and executor counts. Use to verify connectivity. |
jenkinsListQueue | List items waiting in the Jenkins build queue with reason, ETA and task. |
jenkinsGetQueueItem | Get a single Jenkins queue item: wait reason, ETA and the started build URL once assigned. |
jenkinsCancelQueueItem | Cancel a waiting Jenkins build queue item so it never starts. |
jenkinsListNodes | List Jenkins agents/nodes with offline state, executor counts and load statistics. |
jenkinsGetNode | Get details of a single Jenkins agent: executors, monitor data and offline cause. |
jenkinsListViews | List views (tabs) configured on the Jenkins controller. |
jenkinsGetView | Get a Jenkins view with the jobs it contains and their status colors. |
jenkinsListPlugins | List plugins installed on the Jenkins controller with version and enabled state. |
jenkinsGetCurrentUser | Get the Jenkins user the credentials authenticate as. Use to verify an API token. |
jenkinsQuietDown | Put Jenkins into quiet-down mode: running builds finish, no new builds start. |
jenkinsCancelQuietDown | Cancel quiet-down mode so Jenkins accepts new builds again. |
jenkinsSafeRestart | Safely restart Jenkins after running jobs finish. |