{% macro job_table(jobs, id, searchBarId) %} {% block head %} {% endblock %}
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 🤷♀️ ({{ job['exit_code'] }}) {% endif %} {% endif %} | {% if 'duration' in job and job['duration'] %} {{ job['duration'] }} {% endif %} |