You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI example: Jenkins (examples/ci/Jenkinsfile + docs/CI.md) #175
Problem:docs/CI.md has copy-paste setups for GitHub Actions, GitLab and pre-commit. Jenkins users only get the generic "Anything else" snippet (#110).
Build:
Add examples/ci/Jenkinsfile, modelled on examples/ci/gitlab-ci.yml: a declarative pipeline using a python:3.12-slim Docker agent, pip install secfoo, secfoo run --agent api ... --fail-on high --max-cost 2.00, SARIF and JSONL export, and the artifacts kept. Use archiveArtifacts for the outputs, and read the key with withCredentials.
Add a ## Jenkins section to docs/CI.md after GitLab CI: where to set the OPENAI_API_KEY as a "Secret text" credential, and what the exit codes mean.
Run it once on a local Jenkins (docker run jenkins/jenkins:lts) against any small public repo. --depth quick --max-cost 0.50 keeps the cost to a few cents.
Done when: the example and the docs section are merged, and the PR links a screenshot or console log of the successful build showing the archived secfoo.sarif.
Activity