get_pending_inputs
Retrieve pending input steps for a Jenkins build to discover input IDs and parameter definitions, enabling you to submit required input for paused pipelines.
Instructions
Get the pending input steps of a specific build in Jenkins
A pipeline showing "Paused for Input" is waiting on an input step. Call this before submit_input to discover the input id and the parameter definitions the pipeline is waiting for.
Only the given build is inspected. With number=None that is the job's last build, so a paused build that is no longer the most recent one is not found that way — locate it with get_running_builds and pass its number explicitly.
Args: fullname: The fullname of the job number: The number of the build, if None, check the last build
Returns: A list of pending inputs with id, message, proceedText and inputs (parameter definitions)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | ||
| fullname | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |