Web clipper · Local

How to clip a GitLab CI job log to PDF without packing secrets from the build

Clip a GitLab CI job log to PDF by capturing the failed job’s visible output, redacting tokens, and keeping the official job page as the system of record.

Also on Microsoft Edge Add-ons

CI logs are useful because they show the exact failure, and dangerous because they often print tokens, hostnames, and customer identifiers. If you clip a GitLab CI job log to PDF, open the official job, expand the section that failed, clip only that output, and redact secrets before the file leaves the tab.

This is not a second GitLab merge-request page, not a GitHub Actions log page, and not a way to exfiltrate a private pipeline. The job is a visible job log you are allowed to see, filed as a debug snapshot. The capture path is the web clipper workflow for what is actually visible on the page.

Clip a GitLab CI job log to PDF from the failed section only

  1. Open the official job page in a browser profile you are allowed to use, and confirm you have permission to view that project’s pipelines.
  2. Expand the failed (or otherwise relevant) log section until the error and a little context are visible. Avoid clipping the entire raw log if only one stage matters.
  3. Redact runner tokens, registry passwords, API keys, and personal data that should not live in a casual library. If a secret already printed, rotate it in GitLab.
  4. Title the file with the project, the job name, the pipeline ID, and the date. Export PDF for a ticket, or Markdown if you will quote a short command later.

Honest limits

  • Excerpt cannot fetch a job log that never rendered in the tab, and it will not replay the pipeline.
  • Official pipeline records stay in GitLab; a local PDF is a snapshot, not the CI system of record.
  • This page is not a GitHub Actions guide, and it will not help you bypass job permissions.

You can do this with Excerpt in Google Chrome or Microsoft Edge. Select the passages, export them as PDF or Markdown, and keep a library that lives in the browser profile’s IndexedDB. 100 clippings and 5 tags are free; unlimited clippings plus backup import/export are a $29 one-time Pro unlock. The extension does not create an Excerpt account and does not ship cloud sync or AI summarization.

A useful CI clip is the failing stanza plus the commit SHA, dull enough to attach to an issue. A 40-page unredacted log in a personal profile is an incident waiting to happen. Prefer the official job URL in the title so a later reader can go back to GitLab.

Some logs are lazy-loaded as you scroll. If the middle of a long trace is missing, scroll to load it, then recapture that section as its own clipping. Masked variables that GitLab already redacts should stay redacted; do not try to reconstruct them from a screenshot. If the job ran on a protected branch, follow your team’s rule about copying logs off the official page at all.

Install Excerpt for Chrome or Excerpt for Edge, clip only what you mean to keep, and store the file in your local library.

FAQ

Should I clip the entire raw log 'just in case'?

Usually no. Clip the failed section and the identifiers you need (pipeline, job, SHA). A full unredacted log is a larger secret-handling problem.

How is this different from clipping a GitLab merge request?

A merge request is the change and the discussion. This page is the job log from a pipeline run, which often contains build output and secrets.

Install Excerpt and save your next clip as a clean PDF

Free: up to 100 clippings and 5 tags. Pro is $29 one-time for unlimited + library backup import/export.