From f268c70cba5171dc91f68c7b36b7608316705455 Mon Sep 17 00:00:00 2001 From: s-ltf Date: Wed, 19 Jun 2013 22:35:18 -0300 Subject: [PATCH] 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. --- jenkinsapi/jenkins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.34.1