Skip to main content
Glama

Jenkins MCP Server

by umishra1504

readBuildArtifact

Retrieve and read the content of specific build artifacts from Jenkins jobs, supporting both text and binary file formats with optional build number specification.

Instructions

Read the content of a specific build artifact

Input Schema

NameRequiredDescriptionDefault
artifactPathYesRelative path to the artifact (e.g., "target/app.jar", "reports/test.xml")
buildNumberNoBuild number (optional, defaults to last build)
formatNoFormat for returning binary files (default: text). Use base64 for binary files.
jobFullNameYesFull path of the Jenkins job

Input Schema (JSON Schema)

{ "properties": { "artifactPath": { "description": "Relative path to the artifact (e.g., \"target/app.jar\", \"reports/test.xml\")", "type": "string" }, "buildNumber": { "description": "Build number (optional, defaults to last build)", "type": "integer" }, "format": { "description": "Format for returning binary files (default: text). Use base64 for binary files.", "enum": [ "text", "base64" ], "type": "string" }, "jobFullName": { "description": "Full path of the Jenkins job", "type": "string" } }, "required": [ "jobFullName", "artifactPath" ], "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/umishra1504/Jenkins-mcp-server'

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