{% extends "layout.html" %} {% block title %}PR {{ number }}{% endblock %} {% block content %}

{{ pr.title }} #{{ pr.number }}

{% if batch is defined %}
batch: {{ batch['id'] }}
artifacts: gs:/{{ artifacts }}open_in_new
cost: {{ batch['cost'] }}
{% for name, value in batch['attributes'].items() %}
{{ name }}: {{ value }}
{% endfor %}

Jobs

{% for job in jobs %} {% endfor %}
id name state exit_code duration
{{ job['job_id'] }} {{ job['name'] }} {{ job['state'] }} {% if 'exit_code' in job and job['exit_code'] is not none %} {% if job['exit_code'] == 0 %} Success 🎉 {% else %} Failure 🤷‍♀️ {% endif %} ({{ job['exit_code'] }}) {% endif %} {% if 'duration' in job and job['duration'] %} {{ job['duration'] }} {% endif %}
{% elif exception is defined %}

Build error:

      {{ exception }}
    
{% else %} No build running. {% endif %}

Build History

{% if history %} {% for batch in history %} {% endfor %}
id state
{{ batch['id'] }} {% if 'state' in batch and batch['state'] %} {{ batch['state'] }} {% endif %} {% if not batch['complete'] %} running {% endif %}
{% else %} No builds. {% endif %} {% endblock %}