Skip to main content
Glama

Jenkins MCP Tool

stop_build

Stop Jenkins builds on specific servers, handle permission errors, and verify termination status. Input server name, job name, and build number to ensure precise control over CI/CD processes.

Instructions

Stop Jenkins build.

Intelligently handles permission errors and will automatically check build status to confirm if it has already been terminated. Args: server_name: Jenkins server name job_full_name: Full job name build_number: Build number ctx: MCP context (for logging) Returns: Stop result

Input Schema

NameRequiredDescriptionDefault
build_numberYes
job_full_nameYes
server_nameYes

Input Schema (JSON Schema)

{ "properties": { "build_number": { "title": "Build Number", "type": "integer" }, "job_full_name": { "title": "Job Full Name", "type": "string" }, "server_name": { "title": "Server Name", "type": "string" } }, "required": [ "server_name", "job_full_name", "build_number" ], "title": "stop_buildArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xhuaustc/jenkins-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server