> For the complete documentation index, see [llms.txt](https://docs.sealsecurity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sealsecurity.io/legacy-documentation/cli-integration/remote-mode/package-renaming/jenkins.md).

# Jenkins

**Standard CI (Jenkins, GitLab CI, CircleCI):** Add a shell step to download the CLI and run the `seal fix` command after your dependency fetch step (e.g., after `npm install` or `go mod download`).

### Ecosystems and Command Usage

The `seal fix` command is context-aware but requires specific sub-commands depending on what you are fixing. Complex pipelines may require multiple calls to the CLI.

#### Supported Ecosystems

* **Programming Languages:** Javascript, Python, Java (Maven/Gradle), Go, etc.
* **Linux Packages (Seal OS):** RPM, APK, APT (Red Hat, Debian, Alpine, etc.).
* **Post-Build Artifacts:** Existing JAR and Wheel files (includes extraction, replacement, and repackaging).

#### Multi-Context Example

If you have a pipeline that builds a **Node.js** app, runs on **Linux**, and includes a legacy **JAR** file, you will execute three commands in sequence:

1. **Fix the Code:** Run `seal fix` immediately after `npm install`.
2. **Fix the OS:** Run `seal fix os` to patch C/C++ libraries and OS-level packages.
3. **Fix Artifacts:** Run `seal fix fs --path ./libs/legacy-app.jar` to patch the compiled file.

### Quick Start Commands

Copy the command relevant to your deployment strategy below.

**Remote Mode (Security Team Managed) with Renaming**

*Using Seal Platform rules and renaming packages to satisfy external scanners.*

```
# Standard dependency fix
seal fix --mode=remote --use-sealed-names=TRUE

# If fixing OS packages
seal fix os --mode=remote --use-sealed-names=TRUE
```

**The "Kitchen Sink" (Java Project + OS + Post-build)**

*A complex pipeline running in Remote mode.*

```
# 1. Fix Maven dependencies
mvn dependency:resolve
seal fix --mode=remote --use-sealed-names=TRUE

# 2. Fix Linux OS packages
seal fix os --mode=remote --use-sealed-names=TRUE

# 3. Fix an existing Wheel file in the libs folder
seal fix fs --path ./libs/math_lib.whl --mode=remote
```
