---
title: "ktm ci"
description: "Run CI/CD tests with ktm ci by executing JSON config files, polling for results, and reporting outcomes automatically."
sidebarTitle: "ci"
lastUpdated: "2026-09-23"
---

> **For AI agents:** the complete documentation index is at [llms.txt](/llms.txt). Append `.md` to any page URL for its markdown version.

{/* GENERATED FILE: do not edit by hand. Regenerate with: node scripts/generate.mjs */}

CI/CD test execution — run tests from JSON config files and report results

## Usage

```bash
ktm ci [flags]
```

## Subcommands

<Columns cols={2}>
  <Card title="build" icon="angle-right" href="/cli/commands/ci/build">
    Generate a campaign JSON template from test IDs or a saved Tests campaign (local-only, no execution)
  </Card>
  <Card title="run" icon="angle-right" href="/cli/commands/ci/run">
    Execute Kapptivate tests from JSON config files or campaign JSON, poll for results, and report
  </Card>
</Columns>

<Note>
  Global flags (`--output`, `--debug`, `--host`, …) apply to every command. See the [command reference overview](/cli/commands/overview).
</Note>

## What's next?

<Columns cols={2}>
  <Card title="All commands" icon="terminal" href="/cli/commands/overview">
    Browse the full CLI reference.
  </Card>
  <Card title="Get started" icon="rocket" href="/cli/getting-started">
    Install the CLI and authenticate.
  </Card>
</Columns>
