Run Polarion job and wait
run_job_and_waitSubmits a Polarion asynchronous job, polls until it reaches a terminal state or timeout, then returns job status and log tail for bounded job monitoring.
Instructions
Submits one Polarion asynchronous job, polls until a terminal state or timeout, then returns {jobId, status, state, message, logTail}. Provide the executeJob request body with a job factory ID and any factory-specific parameters; job semantics vary by factory. Requires permission to execute that job. Polling cancellation or timeout stops waiting but does not cancel the Polarion job; use executeJob and getJob separately when you do not need a bounded wait and log tail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Return a preview without submitting the job. | |
| requestBody | Yes | JSON body passed to `executeJob`; factory-specific parameters vary by jobId. | |
| log_tail_chars | No | Maximum returned log tail characters; defaults to 4000 and is capped at 20000. | |
| max_wait_seconds | No | Maximum time to poll; defaults to 120 seconds and is capped at 600. |