{% extends "projects/base.html" %} {% import "site_shell/_macros.html" as ui %} {% import "projects/builds/_build_macros.html" as bm %} {% block title %}Build #{{ build.id }} - {{ project.name }} - Pychestrate{% endblock %} {% block content %}
Status
{{ bm.build_status(build.status) }}
Specification
{{ build.spec_name }} v{{ build.spec_version }}
Branch
{{ build.branch }}
Duration
{% if build.duration_seconds is not none %}{{ build.duration_seconds }}s{% else %}—{% endif %}

Build Details

Commit SHA {{ bm.build_commit(build, full=true) }}
Commit Message {{ build.commit_message or '—' }}
Trigger Type {{ build.trigger_type | state_words }}
Triggered By {{ build.triggered_by_username }}
Created {{ build.created_at | format_datetime('%Y-%m-%d %H:%M:%S') }}
Started {{ build.started_at | format_datetime('%Y-%m-%d %H:%M:%S', 'Not started') }}
Completed {{ build.completed_at | format_datetime('%Y-%m-%d %H:%M:%S', 'Not completed') }}

Artifacts ({{ artifacts|length }})

{% if artifacts %}
{% for artifact in artifacts %} {% endfor %}
Name Path Size Checksum
{{ artifact.name }} {{ artifact.path }} {{ (artifact.size_bytes / 1024)|round(1) }} KB {{ artifact.checksum[:16] }}...
{% else %} {{ ui.empty_state("No artifacts") }} {% endif %}
{% endblock %}