return job details for a specific job id

def get_job_details(job_id,
                    deployment_name,
                    token_manager=None,
                    app_url=defaults.APP_URL):
    """
    return job details for a specific job id

    """

    jobs = get_jobs(deployment_name,
                    token_manager=token_manager,
                    app_url=app_url)

    for job in jobs:
        if job['id'] == job_id:
            return job

    raise JutException('Unable to find job with id "%s"' % job_id)