qase_ci_report
Submit a finished CI pipeline as one Qase run: create the run, record all test results, and close it in a single call.
Instructions
Report a whole CI run in one call: creates the run, records every result, and completes it. This is the tool for a pipeline that has just finished — it replaces qase_run_upsert, then qase_result_record, then qase_run_complete, and leaves no half-open run behind if the agent stops early. Each result needs a numeric case_id plus a status, and may carry duration, comment, stacktrace and attachment hashes. Use qase_result_record instead when the run already exists and results arrive in stages; use qase_run_upsert when you need the run left open. A batch larger than 200 is split across requests for you, up to 2000 results in one report. Cost: one tool call covering three API operations, plus one extra request per 200 results. A run with two results measured about 0.7s, against roughly 1.5s for the same work as three separate calls, and it grows with the number of results rather than with the number of round trips.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Project code (2-10 uppercase letters, numbers, or underscores) | |
| title | Yes | Run title (e.g., "CI Build #1234") | |
| results | Yes | Test results to record, 1 to 2000 per call | |
| complete | No | Complete the run after recording results (default: true) | |
| is_autotest | No | Mark as automated run (default: true) | |
| environment_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | Created run ID | |
| run_status | Yes | ||
| results_recorded | Yes | Number of results recorded |