From: s-ltf Date: Thu, 20 Jun 2013 01:35:18 +0000 (-0300) Subject: Update jenkins.py X-Git-Tag: v0.2.23~133^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f268c70cba5171dc91f68c7b36b7608316705455;p=tools%2Fpython-jenkinsapi.git Update jenkins.py I found a bug in the build_job function, self[jobname].invoke(params=params) should have "build_params" instead of "params" ,i.e. self[jobname].invoke(build_params=params) Not sure where else this function is being used through out the api library,but the issue could be in other places. Hope that helps, S.A. --- diff --git a/jenkinsapi/jenkins.py b/jenkinsapi/jenkins.py index 6c6de9d..392bd40 100644 --- a/jenkinsapi/jenkins.py +++ b/jenkinsapi/jenkins.py @@ -154,7 +154,7 @@ class Jenkins(JenkinsBase): :param params: the job params, dict :return: none """ - self[jobname].invoke(params=params) + self[jobname].invoke(build_params=params) return def delete_job(self, jobname):