{%load attr%}
TestScriptRun
{% include "index/header.html" %}
Запуск скриптов через TestScriptRun
Стенд
Обновить список скриптов
{% if restart_link %}
Ссылка на параметры запуска
{% endif %}
Запустить
Скрипт
{% for script in scripts_list %}
{{script}}
{% endfor %}
с параметрами
--shard-id
LOG_TEE
Скрипт выполняется...
{% if hint_message %}
{{ hint_message }}
{% endif %} {% if error_message %}
{{ error_message }}
{% endif %} {% if 'result' in script_result and script_result.result.exit_code != 0 %}
Ненулевой код возврата скрипта: {{ script_result.result.exit_code }}. Скорее всего скрипт завершился с ошибкой или не запустился вовсе.
{% elif 'result' in script_result and script_result.result.exit_code == 0 %}
Скрипт успешно выполнился.
{% endif %}
STDOUT
{% if 'result' in script_result %}{{ script_result.result.stdout }}{% endif %}
STDERR
{% if 'result' in script_result %}{{ script_result.result.stderr }}{% endif %}