Skip to content

CI example: Jenkins (examples/ci/Jenkinsfile + docs/CI.md) #175

Closed

Description

@vsn411

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:

  1. 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.
  2. 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.
  3. 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.

Part of #110.

Activity

  1. added
    documentation
    good first issue
    help wanted
    hackathon
    difficulty: low
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty: lowdocumentationgood first issuehackathonhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions