Jenkins

Jenkins

Connect Jenkins to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Enter your Jenkins URL, username, and API token to sync your CI/CD data into the PostHog Data warehouse.

Jenkins is self-hosted, so enter the base URL of your own instance (for example https://jenkins.example.com).

Create an API token from your Jenkins user page under Configure > API Token. The account needs Overall/Read plus Job/Read permission on the jobs you want to sync.

Configuration

OptionTypeRequired
Jenkins URLtextYes
UsernametextYes
API tokenpasswordYes

Linking Jenkins to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Jenkins
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Community questions