Link to home
Start Free TrialLog in
Avatar of V Thrusher
V Thrusher

asked on

need python script to start,stop and check job status in jenkins

need python script to start,stop and check job status in jenkins
Avatar of gelonida
gelonida
Flag of France image

Just to be sure:

You want to run a python script on your PC, that connects to jenkins' remote API in order to control jenkins?

Unfortunately I do not have a jenkins server to test with, so I can't really help.

However you might have a look at the python module python jenkins ( https://python-jenkins.readthedocs.io/en/latest/ it should be the module to use to connect to a jenkins server.

if you have problems installing the module or if you have some error messages I might be able to help
Avatar of V Thrusher
V Thrusher

ASKER

yes, i want to run python script from my pc to connect to jenkins in remote. Thanks for the response.  I'm new to python, so do you have any code that i can work?
ASKER CERTIFIED SOLUTION
Avatar of gelonida
gelonida
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
okay sure