{% include "nav.html" %}
{% if run_items is defined and run_items %}

Tasks

{% for item in run_items %} {% set is_current = item.task.id == task_id %} {% if content_type == 'script' %} {% set task_url = '/runs/' ~ run_id ~ '/tasks/' ~ item.task.id ~ '/script' %} {% elif content_type == 'json' %} {% set task_url = '/runs/' ~ run_id ~ '/tasks/' ~ item.task.id ~ '/json' %} {% elif content_type == 'log' and log_type is defined %} {% set task_url = '/runs/' ~ run_id ~ '/tasks/' ~ item.task.id ~ '/logs/' ~ log_type %} {% if tail is defined and tail %} {% set task_url = task_url ~ '?tail=' ~ tail %} {% endif %} {% else %} {% set task_url = '/runs/' ~ run_id ~ '/tasks/' ~ item.task.id ~ '/logs/output' %} {% endif %} {{ item.task.name }} {% endfor %}
{% endif %}
{% if content_type == 'log' and log_type is defined %} {% set output_url = '/runs/' ~ run_id ~ '/tasks/' ~ task_id ~ '/logs/output' %} {% set error_url = '/runs/' ~ run_id ~ '/tasks/' ~ task_id ~ '/logs/error' %} {% set script_url = '/runs/' ~ run_id ~ '/tasks/' ~ task_id ~ '/script' %} {% set json_url = '/runs/' ~ run_id ~ '/tasks/' ~ task_id ~ '/json' %} {% if tail is defined and tail %} {% set output_url = output_url ~ '?tail=' ~ tail %} {% set error_url = error_url ~ '?tail=' ~ tail %} {% endif %} {% else %} {% set output_url = '/runs/' ~ run_id ~ '/tasks/' ~ task_id ~ '/logs/output' %} {% set error_url = '/runs/' ~ run_id ~ '/tasks/' ~ task_id ~ '/logs/error' %} {% set script_url = '/runs/' ~ run_id ~ '/tasks/' ~ task_id ~ '/script' %} {% set json_url = '/runs/' ~ run_id ~ '/tasks/' ~ task_id ~ '/json' %} {% endif %} Output Error Script JSON
{% if content_type == 'log' %}
{% endif %}

{{ task_name }}

{% if log_path %}

{{ log_path }}

{% endif %}
{% if error %}
{{ error }}
{% endif %} {% if content is not none %}
{{ content }}
{% else %}

No content available.

{% endif %}