def build_job(self, jenkins_server):
<EOL>if self.parameters and isinstance(self.parameters, six.string_types):<EOL><INDENT>import ast<EOL>self.parameters = ast.literal_eval(self.parameters)<EOL><DEDENT>if not self.parameters:<EOL><INDENT>self.parameters = None<EOL><DEDENT>request = Request(jenkins_server.build_job_url(self.job_name,<EOL>self.parameters, None))<EOL>return jenkins_request_with_headers(jenkins_server, request)<EOL>
This function makes an API call to Jenkins to trigger a build for 'job_name'
It returned a dict with 2 keys : body and headers.
headers contains also a dict-like object which can be queried to get
the location to poll in the queue.

:param jenkins_server: The jenkins server where the job should be triggered
:return: Dict containing the response body (key body)
    and the headers coming along (headers)