~/talk

Getting Groovy with Jenkins

links:none on file
slides:none on file

Shows concrete Groovy snippets and a reproducible workflow: store scripts in source, one job called admin_update_pipeline_config pulls and archive artifacts, other jobs copy artifacts at build start. Uses system vs regular Groovy (system Groovy can reach the Jenkins API and can call system.exit), demonstrates the groovy post build plugin to add quick links and the email-ext plugin for customized failure emails, automates node reboots and build pinning, and reports that scripts survive routine Jenkins updates.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26What is Groovy in Jenkins
  3. 2:40Customizing build pages
  4. 3:44System vs regular scripts
  5. 4:50Jenkins Groovy plugins
  6. 6:11Script storage best practices
  7. 8:24Executing scripts from source
  8. 10:17Accessing environment variables
  9. 12:00Handling variable differences
  10. 14:44Advanced environment variables
  11. 16:01Automating node administration
  12. 21:12Pinning builds for safety
  13. 22:25Creating and deleting nodes
  14. 23:41Customizing build page display
  15. 25:06Dynamic email notifications
  16. 27:30Dynamic script configuration
  17. 30:27Creating quick links
  18. 32:26Dynamic job display updates
  19. 33:43Leveraging Jenkins workspace
  20. 35:01Groovy label assignment
  21. 36:29Q&A and conclusion
~/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.