
Jenkins
CertifiedTasks that trigger Jenkins jobs and retrieve build or job metadata.
Provide the Jenkins serverUrl with a username and API token to start parameterized builds and query job or build details; the tasks handle crumb headers via the HTTP configuration and surface queue, status, and artifact information for orchestration.
Jenkins
Tasks that trigger Jenkins jobs and retrieve build or job metadata.
Provide the Jenkins serverUrl with a username and API token to start parameterized builds and query job or build details; the tasks handle crumb headers via the HTTP configuration and surface queue, status, and artifact information for orchestration.
tasks
How to use the Jenkins plugin
Trigger Jenkins builds and fetch build information from Kestra flows.
Authentication
Set serverUrl to your Jenkins instance URL, username to your Jenkins user, and apiToken to your Jenkins API token. Store credentials in secrets and apply them globally with plugin defaults.
Tasks
JobBuild triggers a Jenkins job — set jobName to the job name or folder path (e.g. team/project/job) and optionally parameters as a map of build parameter names to values.
JobInfo fetches details about a specific build — set jobName and buildNumber. The output info map contains the raw Jenkins build JSON including result, duration, and display name.