1. Support
  2. Integrations
  3. Jenkins
DevOps 19 nodes

Jenkins

DevOps integration · 19 node(s).

00Overview

Trigger and manage Jenkins jobs and builds, and control the Jenkins server

Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.

01Connecting Jenkins

Add your credentials as a Flomation environment secret, then pick them in each node. The connection fields are:

FieldTypeDetails
API TokensecretRequireda Jenkins API token (User ▸ Configure ▸ API Token)
Jenkins URLstringRequiredhttps://jenkins.example.com
UsernamestringRequiredyour Jenkins username
Good to know

Pick an Environment on your flow (Flow Settings → Environment) so the secret resolves. Secret fields never show the value — they reference ${secrets.your_secret}.

02Build

Jenkins: Get Build Console Output

devops/jenkins/build_console · Action

Fetch the console log (build output) of a Jenkins build as plain text. Accepts a build number or a keyword like lastBuild.

FieldTypeDetails
JobstringRequired · ● live pickerjob name (or folder/job)
BuildstringRequired42, or lastBuild — choices: Last Build, Last Successful Build, Last Failed Build, Last Completed Build

Returns: console, truncated, tool_result, success, error

Jenkins: Get Build

devops/jenkins/build_get · Action

Fetch a single Jenkins build's details — result, duration, cause, and timestamp. Accepts a build number or a keyword like lastBuild or lastSuccessfulBuild.

FieldTypeDetails
JobstringRequired · ● live pickerjob name (or folder/job)
BuildstringRequired42, or lastBuild / lastSuccessfulBuild — choices: Last Build, Last Successful Build, Last Stable Build, Last Failed Build, Last Completed Build

Returns: result, tool_result, success, error

Jenkins: List Builds

devops/jenkins/build_get_all · Action

List a Jenkins job's builds with their number, result, timestamp, and duration.

FieldTypeDetails
JobstringRequired · ● live pickerjob name (or folder/job)
Return AllbooleanReturn every build rather than a capped page
LimitintegerMax builds to return (default 50)

Returns: results, count, tool_result, success, error

Jenkins: Stop Build

devops/jenkins/build_stop · Action

Abort a running Jenkins build. Accepts a build number or a keyword like lastBuild.

FieldTypeDetails
JobstringRequired · ● live pickerjob name (or folder/job)
BuildstringRequired42, or lastBuild — choices: Last Build, Last Successful Build, Last Failed Build, Last Completed Build

Returns: tool_result, success, error

03Instance

Jenkins: Cancel Quiet Down

devops/jenkins/instance_cancel_quiet_down · Action

Cancel quiet-down mode so Jenkins resumes starting new builds.

Returns: tool_result, success, error

Jenkins: Quiet Down

devops/jenkins/instance_quiet_down · Action

Put Jenkins into quiet-down mode: no new builds start, and the instance prepares for a safe shutdown.

FieldTypeDetails
Reasonstringshown on the Jenkins banner (optional)

Returns: tool_result, success, error

Jenkins: Restart

devops/jenkins/instance_restart · Action

Restart Jenkins immediately, interrupting any running builds. Not all environments support this.

Returns: tool_result, success, error

Jenkins: Safely Restart

devops/jenkins/instance_safe_restart · Action

Restart Jenkins once all running builds have finished. Not all environments support this.

Returns: tool_result, success, error

Jenkins: Safely Shutdown

devops/jenkins/instance_safe_shutdown · Action

Shut Jenkins down once all running builds have finished. Not all environments support this.

Returns: tool_result, success, error

Jenkins: Shutdown

devops/jenkins/instance_shutdown · Action

Shut Jenkins down immediately, interrupting any running builds. Not all environments support this.

Returns: tool_result, success, error

04Job

Jenkins: Copy Job

devops/jenkins/job_copy · Action

Create a new Jenkins job by copying the configuration of an existing one.

FieldTypeDetails
Source JobstringRequired · ● live pickerjob to copy from
New Job NamestringRequiredname for the copy

Returns: tool_result, success, error

Jenkins: Create Job

devops/jenkins/job_create · Action

Create a new Jenkins job from a config.xml definition. Tip: to get the XML of an existing job, add ‘config.xml’ to the end of its URL.

FieldTypeDetails
New Job NamestringRequiredname for the new job
Config XMLcodeRequired<project>…</project>

Returns: tool_result, success, error

Jenkins: Delete Job

devops/jenkins/job_delete · Action

Permanently delete a Jenkins job and all of its build history.

FieldTypeDetails
JobstringRequired · ● live pickerjob name (or folder/job)

Returns: tool_result, success, error

Jenkins: Disable Job

devops/jenkins/job_disable · Action

Disable a Jenkins job so it can't be triggered until re-enabled.

FieldTypeDetails
JobstringRequired · ● live pickerjob name (or folder/job)

Returns: tool_result, success, error

Jenkins: Enable Job

devops/jenkins/job_enable · Action

Enable a Jenkins job so it can be built again.

FieldTypeDetails
JobstringRequired · ● live pickerjob name (or folder/job)

Returns: tool_result, success, error

Jenkins: Get Job

devops/jenkins/job_get · Action

Fetch a Jenkins job's details — its description, buildability, health, and last build references.

FieldTypeDetails
JobstringRequired · ● live pickerjob name (or folder/job)

Returns: result, tool_result, success, error

Jenkins: List Jobs

devops/jenkins/job_list · Action

List the jobs on the Jenkins instance with their name, URL, and status colour.

Returns: results, count, tool_result, success, error

Jenkins: Trigger Job

devops/jenkins/job_trigger · Action

Start a build of a Jenkins job. Returns the queue item URL so a later step can track it.

FieldTypeDetails
JobstringRequired · ● live pickerjob name (or folder/job)

Returns: queue_url, tool_result, success, error

Jenkins: Trigger Job with Parameters

devops/jenkins/job_trigger_params · Action

Start a build of a parameterised Jenkins job, passing name/value build parameters. The job must be set up to accept parameters.

FieldTypeDetails
JobstringRequired · ● live pickerjob name (or folder/job)
Parameterskey_value_arrayBuild parameter name → value

Returns: queue_url, tool_result, success, error

05Notes & Limitations

Behaviours and constraints worth knowing before you build with these nodes.

  • Triggering a job returns the queue-item URL rather than a build number, because Jenkins queues the request first; a build number only exists once the queue item is picked up, so track it in a later step rather than expecting it immediately.
  • Restart and shutdown actions (including their safe variants) are not supported on every Jenkins environment and will fail where the instance is managed or containerised — treat them as best-effort rather than guaranteed.
  • Quiet-down stops new builds from starting but lets running builds finish; nothing new will run until you cancel quiet-down.
  • Deleting a job is permanent and removes all of its build history along with it, so there is no undo.
  • Build actions accept keywords such as lastBuild and lastSuccessfulBuild in place of a numeric build number, which is safer than hard-coding a number that may not exist yet.
  • Listing a job's builds returns roughly the 100 most recent by default; enable Return All to page through the full history on busy jobs.