Jenkins Integration
Shift-Left API for Jenkins
Add Shift-Left API test packs to Jenkins Freestyle jobs with a single build step. Quality gates, JUnit output, and a built-in test connection check — install the HPI and go.
Overview
The Shift-Left API Automation Integration plugin for Jenkins runs test packs from Freestyle jobs. It connects to your backend via the public API — login, trigger, poll, apply a quality gate, and optionally write JSON or JUnit XML to the workspace.
Prerequisites
- Network path from the Jenkins controller to your Shift-Left API base URL (HTTPS recommended).
- A Jenkins credential of type Username with password (email + API password).
- Shift-Left API deployment exposing the /api/v1 endpoints.
Installation
- 1
Download the .hpi file from the repository (e.g. totalshiftleft.shift-left-api-automation-integration-1.0.0.hpi).
- 2
In Jenkins, go to Manage Jenkins → Plugins.
- 3
Open the Advanced settings tab.
- 4
Under Deploy Plugin, click Choose File, select the .hpi, then Deploy.
- 5
Restart Jenkins when prompted to complete the installation.
- 6
Confirm under Installed plugins that Shift-Left API Automation Integration is listed.
Freestyle job configuration
Add Shift-Left API Automation Integration: Run Test Pack as a build step and configure these sections.
Shift-Left API connection
Test Pack
Execution
Quality Gate
Artifacts (optional)
Tip: After a build, open the build page and use the Shift-Left API Automation Integration link in the sidebar for a summary and links to workspace artifacts.
Jenkins FAQs
Does the plugin support Pipeline (Jenkinsfile) jobs?
The current version provides a Freestyle build step. Pipeline support via a Jenkinsfile step is planned for a future release. In the meantime you can wrap the Freestyle build step in a Pipeline script block.What Jenkins version is required?
Jenkins 2.479.x LTS or newer with Java 17 on the controller. This is the current LTS baseline.What if Jenkins reports missing dependencies?
Install the suggested plugins (typically Credentials and related credential bindings) from the Plugins page, then restart Jenkins.How do I verify the connection before running tests?
In the build step configuration, enter your Server URL and Credentials, then click Test Connection. The plugin will attempt to log in and confirm reachability.
Ready to add API testing to Jenkins?
Start your free 15-day trial. Install the plugin and run your first test pack today.