get_build_artifact
Download a build artifact from a Jenkins job by specifying job name, artifact path, and optional build number. Returns content as text or base64.
Instructions
Download an artifact from a specific build in Jenkins
Binary files are returned as base64-encoded content; text files are returned as plain text.
Args: fullname: The fullname of the job relative_path: The relative path of the artifact (e.g. playwright-report/index.html) number: The number of the build, if None, get the last build
Returns: A dict with 'content' (str) and 'encoding' ('utf-8' or 'base64')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fullname | Yes | ||
| relative_path | Yes | ||
| number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||