def create_job(self, name):
        url = "%s/createItem" % self.jenkins_url
        headers = {'content-type': 'text/xml'}
        resp = self.post(url,
                         params={'name': name},
                         data=EMPTY_JOB_XML,
                         headers=headers)
        return resp.status_code
dataset/ETHPy150Open redhat-cip/software-factory/tests/functional/utils.py/JenkinsUtils.create_job/original