Skip to content

Jenkins ​

Manage jobs, trigger builds, and monitor queues with the Jenkins API.

DetailValue
CategoryCI/CD
Base URLhttps://jenkins.example.com
AuthenticationBearer Token
Endpoints8
Connector keyjenkins

Using Jenkins in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick Jenkins from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — see the table below.

Available Endpoints ​

EndpointSummary
GET /api/jsonGet Jenkins info
GET /job/{name}/api/jsonGet job details
POST /job/{name}/buildTrigger a build
POST /job/{name}/buildWithParametersTrigger parameterized build
GET /job/{name}/{number}/api/jsonGet build details
GET /job/{name}/{number}/consoleTextGet build console output
POST /job/{name}/{number}/stopStop a build
GET /queue/api/jsonGet build queue

Each endpoint has its own page with parameter details, an example API Call node configuration, and the response shape.