perceval/backends/core/jenkins.py
def get_builds(self, job_name):
        """ Retrieve all builds from a job"""

        if self.blacklist_jobs and job_name in self.blacklist_jobs:
            logger.warning("Not getting blacklisted job: %s", job_name)
            return

        payload = {'depth': self.detail_depth}
        url_build = urijoin(self.base_url, "job", job_name, "api", "json")

        response = self.fetch(url_build, payload=payload)
        return response.text
def get_builds(self, job_name):
        if self.blacklist_jobs and job_name in self.blacklist_jobs:
            logger.warning("Not getting blacklisted job: %s", job_name)
            return

        payload = {'depth': self.detail_depth}
        url_build = urijoin(self.base_url, "job", job_name, "api", "json")

        response = self.fetch(url_build, payload=payload)
        return response.text
def get_builds ( self , job_name ) : if self . blacklist_jobs and job_name in self . blacklist_jobs : logger . warning ( "Not getting blacklisted job: %s" , job_name ) return payload = { 'depth' : self . detail_depth } url_build = urijoin ( self . base_url , "job" , job_name , "api" , "json" ) response = self . fetch ( url_build , payload = payload ) return response . text
Retrieve all builds from a job
Retrieve all builds from a job