pattern
(string): Pattern to match job names (supports wildcards like 'build', 'test', etc.)
How to use it
pattern is exposed by the Jenkins MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the pattern tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Jenkins MCP Server
npx @ashwinighuge/jenkins-mcp-server --helpOther tools in Jenkins MCP Server (39)
(string): Relative path to the artifact (from listbuildartifacts).
(integer): The build number.
(boolean, optional): Attempt to cancel running builds (default: false).
(integer, optional): Only jobs built within the last N days
(boolean, optional): If True, only enabled jobs; if False, only disabled jobs
(boolean, optional): Stop processing on first failure (default: false)
(boolean, optional): Whether to include folder items (default: False)
(string): The name of the Jenkins job.
(string, optional): Filter by type - "job", "folder", or "all" (default: "job")
(string, optional): Filter by last build result: "SUCCESS", "FAILURE", "UNSTABLE", "ABORTED", "NOTBUILT"
(integer, optional): Maximum number of recent builds to search (default: 10).
(integer, optional): Maximum concurrent job triggers (default: 5)
(integer, optional): Maximum depth to recurse (default: 10)
(integer, optional): Maximum file size to download in MB (default: 50MB).
(string): The operation ID returned from batchtriggerjobs.
(array): List of job operations, each containing:
(object, optional): Job parameters as a JSON object. For multiselect parameters, pass an array of strings.
(integer, optional): Priority 1-10 (1=highest, default: 1)
(boolean, optional): If True, recursively traverse folders (default: True)
(integer, optional): The starting byte position for fetching the log.
(string, optional): Filter by job status: "building", "queued", "idle", "disabled"
(boolean, optional): If True, treat pattern as regex instead of wildcard (default: False)
(boolean, optional): Wait for all jobs to complete (default: false)