jenkins api.py