Using Python-Jenkins¶ The python-jenkins library allows management of a Jenkins server through the Jenkins REST endpoints. Below are examples to get you started using the library. If you need further help take a look at the API reference docs for more details. Example 1: Get version of Jenkins¶ This is an example showing how to connect to a Jenkins instance and retrieve the Jenkins server version.