Running promptfoo in GitLab CI
A GitLab CI job for promptfoo evals: the Node.js image, caching the promptfoo cache directory between pipelines to cut API spend, masked variables for provider keys, and failing merge requests on regressions.

Running promptfoo evals and red team scans in GitLab CI, Jenkins, Azure Pipelines and other CI systems, with pass-rate gates, caching and reports.
A GitLab CI job for promptfoo evals: the Node.js image, caching the promptfoo cache directory between pipelines to cut API spend, masked variables for provider keys, and failing merge requests on regressions.
Adding promptfoo evals to a Jenkinsfile: Node.js on the agent, storing provider keys in Jenkins credentials, archiving HTML and JUnit results, and the agent problems that usually break the first run.
An azure-pipelines.yml for promptfoo: secret pipeline variables for provider keys, publishing JUnit results with PublishTestResults, and matrix runs across models or prompt variants.
Configuring .circleci/config.yml to install and run promptfoo, cache LLM responses between builds, and keep provider keys in CircleCI contexts or project variables.
A bitbucket-pipelines.yml step that runs promptfoo on the node:24 image, keeps API keys in repository variables and stores reports as artifacts for review.
Running promptfoo evals and code scans in AWS CodeBuild: a Node.js 24 build image, keys from Parameter Store or Secrets Manager, reports as build artifacts and pull request comments.
A .travis.yml for promptfoo evals on Node.js 24, environment variables for provider keys and storing result artifacts outside the build log.
Setting quality gates for LLM changes: exit codes, PROMPTFOO_PASS_RATE_THRESHOLD, when to allow a margin instead of zero failures, and how to stop flaky model-graded checks from blocking every merge.
Running promptfoo red teams on a schedule or on release branches instead of every commit: cron triggers, tagging runs, regenerating versus reusing attack suites, and where results should go.
Keeping CI eval spend predictable: persisting the response cache, running full suites only when prompts change, choosing cheaper grader models and capping concurrency.
Getting promptfoo results into the CI tools reviewers already open: JUnit XML for test tabs, HTML for human review, JSON for scripts, and the data these files can contain.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.