Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 447 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 447 Bytes

We can use JenkinsAPI with python to automate whole jenkins process .

Installation of Jenkins API :

pip3 install python-jenkins ( I am using python3 for my code)

After that just import the Jenkins api in file and make connection to jenkins server.

import jenkins
#Make connection with jenkins
server = jenkins.Jenkins('http://jenkins-url:8080/', username='username', password='xxxxxxxxxxxxxxx')