replay_build
Rerun an existing Jenkins Pipeline build using a replacement main script and optional loaded scripts; this schedules a real build and may deploy.
Instructions
Run an existing Pipeline build again using a replacement mainScript and optional loadedScripts. This schedules a real build and can deploy. Read get_replay_scripts first. Never automatically retry after a submitted/uncertain POST.
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>",
"mainScript": "<mainScript>"
},
"name": "replay_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | ||
| fullname | Yes | ||
| mainScript | Yes | ||
| loadedScripts | No |