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:
| Field | Type | Details | |
|---|---|---|---|
| API Token | secret | Required | a Jenkins API token (User ▸ Configure ▸ API Token) |
${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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Job | string | Required · ● live picker | job name (or folder/job) |
| Build | string | Required | 42, 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Job | string | Required · ● live picker | job name (or folder/job) |
| Build | string | Required | 42, 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Job | string | Required · ● live picker | job name (or folder/job) |
| Return All | boolean | Return every build rather than a capped page | |
| Limit | integer | Max 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Job | string | Required · ● live picker | job name (or folder/job) |
| Build | string | Required | 42, 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Reason | string | shown 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Source Job | string | Required · ● live picker | job to copy from |
| New Job Name | string | Required | name 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| New Job Name | string | Required | name for the new job |
| Config XML | code | Required | <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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Job | string | Required · ● live picker | job 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Job | string | Required · ● live picker | job 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Job | string | Required · ● live picker | job 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Job | string | Required · ● live picker | job 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Job | string | Required · ● live picker | job 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.
| Field | Type | Details | |
|---|---|---|---|
| Jenkins URL | string | Required | https://jenkins.example.com |
| Username | string | Required | your Jenkins username |
| Job | string | Required · ● live picker | job name (or folder/job) |
| Parameters | key_value_array | Build 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
lastBuildandlastSuccessfulBuildin 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.