Docs Navigation
Jenkins
Jenkins can use the same config-first integration. Install `@sentinelqa/playwright-reporter`, set the environment variables in Jenkins, and keep running `npx playwright test`.
Required variables
- `SENTINEL_TOKEN` (project ingest token)
Playwright config
ts
import { defineConfig } from "@playwright/test";
import { withSentinel } from "@sentinelqa/playwright-reporter";
export default withSentinel(
defineConfig({
outputDir: "test-results",
reporter: [["line"]],
use: {
trace: "retain-on-failure",
screenshot: "only-on-failure",
video: "retain-on-failure"
}
}),
{
project: "my-app"
}
);Why this is easy
- No Sentinel-specific wrapper command in Jenkins.
- No YAML or job-step drift across repos.
- Playwright stays the single source of truth for artifacts and outputs.