Overview
The Jenkins connector can trigger parameterised Jenkins jobs when Lescopr detects incidents or when they are resolved — useful for automated rollback or diagnostic pipelines.
Key features:
- Trigger any parameterised job
- Pass incident metadata as build parameters
- Filter by severity and project
Setup
Go to Settings → Connectors → Jenkins in the Lescopr dashboard. Provide your Jenkins base URL, a service account username, an API token, and the name of the job to trigger.
Make sure your Jenkins instance allows remote trigger calls and that the job has the Build Trigger: Trigger builds remotely option enabled.
Lescopr Dashboard → Settings → Connectors → Jenkins
bash
Jenkins URL: https://jenkins.your-company.com
Username: jenkins-user
API token: 11xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Job name: incident-response-pipelineEvents & notifications
- Critical incident created → Rollback or investigation pipeline triggered
- Incident resolved → Post-incident cleanup pipeline triggered
Build parameters passed automatically:
incident_id,severity,project_id,environment,timestamp