Automate Your Jenkins Process Using Jenkins API
summary
Demo shows using the Python jenkinsapi module and a Jupyter notebook to create/delete nodes and create jobs from XML, connect to a local Jenkins instance with optional auth, and programmatically invoke jobs with file parameters and a blocking timeout to wait for build results. It demonstrates reading/updating job config XML, changing a job to parameterized, iterating generator artifacts and download artifacts to disk, manipulating views, and notes the GitHub project (13 stars) and ~30–40 API methods available.
AI-written summary · about
chapters (4)
related talks
23mJenkins as a Python execution platform
36mUsing Jenkins to Build, Deploy, and Automate Projects
38mUsing Jenkins Job Builder to Easily Manage Your Jobs
33mJenkins 101
51mJenkins or: How I learned to stop worrying and love automation
30mA Journey Introducing Jenkins to Enterprise IT
50mJenkins - User Interface for your Powershell tasks
40mBuilding Pipelines at Scale
