Jenkins as a Python execution platform
summary
Shows concrete ways to run Python on Jenkins: use plain shell steps with a shebang, the Python/ShiningPanda/JSON plugins, or embed Python in the JVM with Jython inside Jenkins VM and Groovy grab to load libraries. Pass inputs via Jenkins job parameters (env vars), output via artifact files and Java properties, persist complex objects with pickle + compress + base64, and retrieve state across builds with the copy-artifacts plugin. Demonstrates these in a real Overit CI pipeline and a change‑gating system that works in practice.
AI-written summary · about
chapters (13)
- 0:00Introduction and agenda
- 1:07Why run Python in Jenkins
- 3:17Jenkins job types overview
- 5:30Running Python via command line
- 6:53Running Python with plugins
- 8:18Passing data into Python jobs
- 9:19Passing data out of Python jobs
- 11:31Saving persistent state in Jenkins
- 15:50Summary of data handling methods
- 16:11Running Python on JVM with Jython
- 18:00Dynamic Python execution with Groovy
- 19:44Real-world Python applications in Jenkins
- 21:56Q&A and closing remarks
related talks
45mAutomate Your Jenkins Process Using Jenkins API
50mJenkins - User Interface for your Powershell tasks
33mJenkins 101
46mWorkflow in Jenkins
42mJenkins: Enabling Agility and Efficiency
42mJenkins: Enabling Agility and Efficiency
42mZero to Jenkins: Automatic builds + deploys
36mUsing Jenkins to Build, Deploy, and Automate Projects
