Skip to content

docs: add Jenkins CI pipeline example and documentation - #186

Merged
vsn411 merged 2 commits into
secfoo-com:mainfrom
RiccardoBifulco:docs/jenkins-ci-example
Nov 21, 2026
Merged

vsn411 merged 2 commits into
secfoo-com:mainfrom
RiccardoBifulco:docs/jenkins-ci-example

Conversation

@RiccardoBifulco

Copy link
Copy Markdown
Contributor

Fixes #175

Adds a declarative Jenkins pipeline example (examples/ci/Jenkinsfile) modelled on examples/ci/gitlab-ci.yml and documents it under a new ## Jenkins section in docs/CI.md.

Summary of changes:

  • examples/ci/Jenkinsfile: uses python:3.12-slim, installs secfoo, injects OPENAI_API_KEY via withCredentials, runs secfoo run --agent api ... --fail-on high --max-cost 2.00, exports SARIF and JSONL, and archives the artifacts in post { always }.
  • docs/CI.md: adds the ## Jenkins section explaining Secret text credential setup, exit codes (0, 1, 2, 3), and artifact archiving.

Copilot AI balanced review requested due to automatic review settings November 21, 2026 10:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Running python:3.12-slim with -u root left root-owned files in the Jenkins
workspace, which breaks workspace cleanup on later builds. The GHCR image
already ships secfoo and git, so the job needs no apt-get or pip install.
Clear its secfoo entrypoint for the Docker agent, and point SECFOO_HOME at
the workspace because the container user has no home directory.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vsn411
vsn411 merged commit 773e090 into secfoo-com:main Nov 21, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown

Leaderboard update

RiccardoBifulco now has 9 points (rank #6). 16 more to reach Bronze.

Full leaderboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants