While using jenkins API, getting a failure on reconfig_job
问题 I am using jenkins rest API to recurse through jobs and then reconfigure this one. All methods work except one. He's is my code : def get_server_instance(): jenkins_url = 'xxxx' #server = Jenkins(jenkins_url, username = '', password = '') # Connect to instance - username and password are optional server = jenkins.Jenkins(jenkins_url, username = '', password = '') return server def get_job_details(): # Refer Example #1 for definition of function 'get_server_instance' server = get_server