CI/CD troubleshooting and resources

This page provides a few tips to help troubleshoot or scale CI/CD integrations.

Step 1: Try to replicate with the Snyk CLI

If the CLI and the pipeline are running the same engine, try to clone the Project and scan with the CLI.

Try various CLI options. Use the Snyk CLI to find and fix known vulnerabilities as you run it in the pipeline. For more information, see the CLI documentation.

Step 2: Get logs

If you can replicate with the CLI and the problem still exists, ask the CLI to output the debug logging using the following command: DEBUG=* or use the -d option to capture logs:

snyk test -d

or

DEBUG=* snyk test

Step 3: Use the CLI instead of the plugin

Try to replace the native plugin with the CLI by installing the CLI. See Install the Snyk CLI for instructions.

The following repository provides some examples of binary and npm integrations for various CI/CD tools: GitHub CI/CD examples.

To learn more about CI/CD, see the article What is CI/CD? CI/CD Pipeline and Tools Explained.

Last updated

Was this helpful?