Example #1
0
def events_handle_logs_build_job(job_uuid, job_name, log_lines):
    if not BuildJob.objects.filter(uuid=job_uuid).exists():
        return

    _logger.debug('handling log event for %s', job_name)
    log_lines = to_list(log_lines)

    safe_log_job(job_name=job_name, log_lines=log_lines)
Example #2
0
def events_handle_logs_build_job(job_uuid, job_name, log_lines):
    if not BuildJob.objects.filter(uuid=job_uuid).exists():
        return

    _logger.debug('handling log event for %s', job_name)
    safe_log_job(job_name=job_name, log_lines=log_lines)