{% extends "base" %} {% block title %}#{{ artifact.id }} · {{ package.name }}{% endblock %} {% block extra_head %} {% endblock %} {% block content %}

#{{ artifact.id }} {% if artifact.status == "success" %} passed {% elif artifact.status == "failure" %} failed {% elif artifact.status == "running" %} running {% elif artifact.status == "pending" %} queued {% else %} {{ artifact.status }} {% endif %}

{{ artifact.trigger | default(value="Triggered manually") }} {% if artifact.commit_sha %} · {{ artifact.commit_sha }}{% endif %} {% if artifact.branch %} on {{ artifact.branch }}{% endif %}

{% if artifact.steps and artifact.steps | length > 0 %}

Steps

{% for step in artifact.steps %}
{% if step.status == "success" %} {% elif step.status == "failure" %} {% elif step.status == "running" %} {% elif step.status == "skipped" %} {% else %} {% endif %} {{ step.name }} {% if step.duration %}{{ step.duration }}{% endif %}
{% if step.log_lines and step.log_lines | length > 0 %} {% for line in step.log_lines %}
{{ loop.index }} {{ line.text | default(value=line) | escape }}
{% endfor %} {% elif step.log %} {% for raw_line in step.log | split(pat="\n") %}
{{ loop.index }} {{ raw_line | escape }}
{% endfor %} {% else %}
1 No output.
{% endif %}
{% endfor %}
{% else %}
No steps recorded for this artifact.
{% endif %}
{% if artifact.prev_id %} ← #{{ artifact.prev_id }} {% endif %} {% if artifact.next_id %} #{{ artifact.next_id }} → {% endif %}
{% endblock %}