jenkins_get_artifact
Download a specific artifact from a Jenkins build as base64-encoded content. Provide job name, build number, and relative path to the artifact.
Instructions
Download a specific artifact from a build (returns base64-encoded content)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"jobName": "<jobName>",
"buildNumber": "<buildNumber>",
"relativePath": "<relativePath>"
},
"name": "jenkins_get_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobName | Yes | Name of the Jenkins job | |
| instance | No | Jenkins instance name (optional — defaults to first configured instance) | |
| buildNumber | Yes | Build number | |
| relativePath | Yes | Relative path to the artifact (e.g., "dist/app.jar") |