Skip to main content

Jenkins Integration

Integrate AIPTx security testing into your Jenkins CI/CD pipelines.

Quick Start

Declarative Pipeline

Setup

1. Install AIPTx CLI

Add to your Jenkins node or use the Docker image: Option A: Install CLI
Option B: Docker Image

2. Configure Credentials

  1. Go to Manage JenkinsManage Credentials
  2. Add a new Secret text credential
  3. ID: aiptx-api-key
  4. Secret: Your AIPTx API key

3. Create Pipeline

Create a Jenkinsfile in your repository:

Pipeline Examples

Scripted Pipeline

Parallel Scanning

Scan multiple targets simultaneously:

Scheduled Deep Scan

Jenkins Plugins

AIPTx Jenkins Plugin

For enhanced integration, use the AIPTx Jenkins plugin:

Plugin Features

  • Native Jenkins credential integration
  • Build status integration
  • Trend graphs for findings over time
  • Direct links to AIPTx dashboard
  • SARIF report publishing

Security Best Practices

Credential Management

Always use Jenkins credentials, never hardcode API keys:

Pipeline Security

Troubleshooting

Ensure the CLI is installed on the Jenkins agent or use the Docker image:
Increase the timeout for deep scans:
Verify the API key has correct permissions and the credential ID matches.