~/talk

Workflow in Jenkins

links:none on file
slides:none on file

Build system implemented as a text-based Groovy DSL that runs on Jenkins 1.580+, published as open source (0.1 beta5), supports parallel stages, mid-build artifact archiving, human approval via an input step, and reusable functions. Execution uses a custom CPS-based execution engine that serializes program state so runs survive Jenkins restarts (demo shows restart during a run) and enterprise adds checkpoint resume for very long builds (example: avoid redoing 31–32 hour work). Docker demo and snippet generator exist.

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.