{#- # 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

Summary of jobs for this pipeline

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

{{ stage["name"] }}

{% for job in stage["jobs"] %}
{% if job["complete"] and job["outcome"] == "success" %} {% elif job["complete"] %} {% else %} {% endif %}{# job["complete"] #}
{% endfor %}{# job in stage["jobs"] #} {% endfor %}{# stage in pipe["ci_stages"] #}
{% if "dependencies_url" in pipe %}

Dependency graph for pipeline

(click for larger version)

pipeline dependency graph
{% endif %}{# "depgraph_preview" in job #}
{% for stage in pipe["ci_stages"] %}

{{ stage["name"] }}

{% for job in stage["jobs"] %}
{% if not job["complete"] %}
{% elif job["outcome"] == "success" %}
{% 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["outcome"] == "success" %} yes {% else %} no {% endif %}{# job["outcome"] == "success"#}

{% endif %}{# job["complete"] #} {% if job["complete"] and job["loaded_outcome_dict"] %}

An outcome table decided the outcome ‘{{ job["outcome"] }}’ for this job. View the table here (or view the raw JSON).

{% endif %}{# job["loaded_outcome_dict"] #} {% 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"] #}