{#- # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://www.apache.org/licenses/LICENSE-2.0 # # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -#} Pipeline {{ pipe["name"] }}

{{ run["project"] }} pipeline ‘{{ pipe["name"] }}’

Litani CI Dashboard

{% for stage in pipe["ci_stages"] %}

{{ stage["name"] }}

{% for job in stage["jobs"] %}
{% if not job["complete"] %}
{% elif not job["command_return_code"] %}
{% else %}
{% endif %}{# not job["complete"] #}
{% if "description" in job["wrapper_arguments"] %}

{{ job["wrapper_arguments"]["description"] }}

{% endif %}{# "description" in job #}

{{ job["wrapper_arguments"]["command"] }}

{% if job["complete"] %}

Command return code: {{ job["command_return_code"] }}

OK returns: {{ job["wrapper_arguments"]["ok_returns"] }}

Ignored returns: {{ job["wrapper_arguments"]["ignore_returns"] }}

Timeout: {{ job["wrapper_arguments"]["timeout"] }}

Timeout ok: {{ job["wrapper_arguments"]["timeout_ok"] }}

Timeout ignored: {{ job["wrapper_arguments"]["timeout_ignore"] }}

Timeout reached: {{ job["timeout_reached"] }}

Start time: {{ job["start_time"] }}

Duration: {{ job["duration_str"] }}

End time: {{ job["end_time"] }}

Command successful: {% if job["command_return_code"] %} no {% else %} yes {% endif %}{# job["command_return_code"] #}

{% endif %}{# job["complete"] #} {% if job["stdout"] %}
stdout: {% for line in job["stdout"] %} {{ line.strip() }} {%- endfor %}{# line in job["stdout"] #}
{% endif %}{# job["stdout"] #} {% if job["stderr"] %}
stderr: {% for line in job["stderr"] %} {{ line.strip() }} {%- endfor %}{# line in job["stderr"] #}
{% endif %}{# job["stderr"] #}
{% endfor %}{# command in stage["jobs"] #}
{% endfor %}{# stage in pipe["ci_stages"] #}