~/talk

Workflow in Jenkins

links:none on file
slides:none on file

A new Groovy-based job type runs full pipelines as a single text script and uses a custom CPS continuation engine to serialize and resume execution; demo shows a Jenkins restart mid-run with the build continuing and an enterprise checkpoint resume restoring from a staging failure into a quick rebuild. It supports parallel sharding of tests, human approval steps, tool auto-install (Maven), Git-hosted flow libraries, a Docker demo, and is available as 0.1 beta5 (requires Jenkins 1.580 LTS).

AI-written summary · about

  1. 0:00Intro
  2. 2:31Use Cases: orchestrated activities • Multi-stage continuous deployment pipeline • Run part of build with a temporary server • Blue/green deployment + auto commit/abort • Parallel tests with automatic sharding • Automatic per-branch jobs (à la Literate)
  3. 4:57Characteristics • Complex pipelines involving multiple stages • Non-sequential logic such as loops and forks • Long-running builds must survive outages • Interaction with humans pauses, input • Restartable builds in case of a transient error • Reusable definitions to avoid duplication • Comprehensible scripts one clear definition
  4. 11:37Key features (what I already covered) • Entire flow is one concise Groovy script -for-loops, try-finally, fork-join, etc. . Can restart Jenkins while flow is running • Human input/approval integrated into flow
  5. 18:47Resumption of Groovy flows • Transformed to continuation-passing style • Run on custom interpreter of Groovy • State of program saved at each pause point • Variables serialized and restored after restart - pickles: extensible object replacements
  6. 44:57Summary • Simplifies complex orchestration • Define everything in single job • Workflow as Groovy code • Survives IVM loss, and even restartable • Extensible
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.