get_build_status
Retrieve the current status of a Jenkins build by providing the job path and build number. Use 'lastBuild' to fetch the most recent build's status.
Instructions
Get the status of a Jenkins build
Input Schema
Name | Required | Description | Default |
---|---|---|---|
buildNumber | No | Build number (use "lastBuild" for most recent) | |
jobPath | Yes | Path to the Jenkins job (e.g., "view/xxx_debug") |
Input Schema (JSON Schema)
{
"properties": {
"buildNumber": {
"description": "Build number (use \"lastBuild\" for most recent)",
"type": "string"
},
"jobPath": {
"description": "Path to the Jenkins job (e.g., \"view/xxx_debug\")",
"type": "string"
}
},
"required": [
"jobPath"
],
"type": "object"
}