{% set pipelines = pipelines if pipelines is defined else (state.pipelines if state else []) %} {% if pipelines %} {% set running = [] %}{% set failed = [] %}{% set ok = [] %} {% for p in pipelines %} {% if p.status == "running" %}{% if running.append(1) %}{% endif %} {% elif p.status == "failed" %}{% if failed.append(1) %}{% endif %} {% elif p.status == "success" %}{% if ok.append(1) %}{% endif %} {% endif %} {% endfor %}
| Repo | Ref | Status | Created |
|---|---|---|---|
{{ p.repo_name }} |
{{ p.ref }} |
{{ p.status }} | {{ p.created_at }} |
No pipelines.
{% endif %}