{% extends "projects/base.html" %} {% import "site_shell/_macros.html" as ui %} {% import "projects/builds/_build_macros.html" as bm %} {% block title %}{{ spec.name }} - {{ project.name }} - Pychestrate{% endblock %} {% block content %}
Repository
{{ spec.repository_name }}
Branch
{{ spec.branch }}
Version
v{{ spec.version }}
Timeout
{{ spec.timeout_minutes }} minutes

Build Steps ({{ spec.steps|length }})

{% if spec.steps %}
{% for step in spec.steps %} {% endfor %}
# Name Type Continue on Failure
{{ loop.index }} {{ step.name }} {{ step.type }} {% if step.continue_on_failure is defined and step.continue_on_failure %}Yes{% else %}No{% endif %}
{% else %} {{ ui.empty_state("No build steps defined") }} {% endif %}

Recent Builds View all

{% if recent_builds %}
{% for build in recent_builds %} {% endfor %}
Build Branch Status Duration Started
#{{ build.id }} {{ build.branch }} {{ bm.build_status(build.status) }} {% if build.duration_seconds is not none %}{{ build.duration_seconds }}s{% else %}—{% endif %} {{ bm.build_started(build) }}
{% else %} {{ ui.empty_state("No builds yet") }} {% endif %}
{% if can_delete %}
{% if (spec_usage.watches or spec_usage.active_builds) %}

This specification cannot be deleted now: {% if spec_usage.active_builds %}{{ spec_usage.active_builds }} of its builds are waiting or running.{% endif %} {% if spec_usage.watches %}The watches {{ spec_usage.watches | join(', ') }} use it; change or delete them first.{% endif %}

{% endif %} {% if not spec_usage.watches and not spec_usage.active_builds %}
{% endif %}
{% endif %} {% endblock %}