Get Build Artifact Url
get_build_artifact_urlRetrieve the direct URL for an artifact from a specific Jenkins build using the job name and relative path; optionally specify a build number or use the last build.
Instructions
Get the direct URL of an artifact from a specific build in Jenkins
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": {
"fullname": "<fullname>",
"relative_path": "<relative_path>"
},
"name": "get_build_artifact_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | The number of the build, if None, get the last build | |
| fullname | Yes | The fullname of the job | |
| relative_path | Yes | The relative path of the artifact (e.g. playwright-report/index.html) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |