DEVOPS
Jenkins actions
19 actions you can wire into a flow, alongside everything else in the DevOps integration.
Every Jenkins action
- Jenkins: Cancel Quiet DownCancel quiet-down mode so Jenkins resumes starting new builds.
- Jenkins: Copy JobCreate a new Jenkins job by copying the configuration of an existing one.
- Jenkins: Create JobCreate 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.
- Jenkins: Delete JobPermanently delete a Jenkins job and all of its build history.
- Jenkins: Disable JobDisable a Jenkins job so it can't be triggered until re-enabled.
- Jenkins: Enable JobEnable a Jenkins job so it can be built again.
- Jenkins: Get BuildFetch a single Jenkins build's details: result, duration, cause, and timestamp. Accepts a build number or a keyword like lastBuild or lastSuccessfulBuild.
- Jenkins: Get Build Console OutputFetch the console log (build output) of a Jenkins build as plain text. Accepts a build number or a keyword like lastBuild.
- Jenkins: Get JobFetch a Jenkins job's details: its description, buildability, health, and last build references.
- Jenkins: List BuildsList a Jenkins job's builds with their number, result, timestamp, and duration.
- Jenkins: List JobsList the jobs on the Jenkins instance with their name, URL, and status colour.
- Jenkins: Quiet DownPut Jenkins into quiet-down mode: no new builds start, and the instance prepares for a safe shutdown.
- Jenkins: RestartRestart Jenkins immediately, interrupting any running builds. Not all environments support this.
- Jenkins: Safely RestartRestart Jenkins once all running builds have finished. Not all environments support this.
- Jenkins: Safely ShutdownShut Jenkins down once all running builds have finished. Not all environments support this.
- Jenkins: ShutdownShut Jenkins down immediately, interrupting any running builds. Not all environments support this.
- Jenkins: Stop BuildAbort a running Jenkins build. Accepts a build number or a keyword like lastBuild.
- Jenkins: Trigger JobStart a build of a Jenkins job. Returns the queue item URL so a later step can track it.
- Jenkins: Trigger Job with ParametersStart a build of a parameterised Jenkins job, passing name/value build parameters. The job must be set up to accept parameters.
Also in DevOps
Put Jenkins in a flow
These actions sit on the same canvas as every other integration, so a Jenkins step can follow a form, a schedule or a message without any glue code.
