diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-04-25 12:47:41 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-04-25 13:11:59 +0200 |
commit | a80dd33b084774ae86a2f09800b32fd5b704f5a1 (patch) | |
tree | 1ece63b439bda21a1fede7dbe83d4ecdb78a8353 /doc/invocations-http-server/templates/invocation.html | |
parent | 9b9f410d6b08c52ae56563c5970e1d7a5023014c (diff) | |
download | justbuild-a80dd33b084774ae86a2f09800b32fd5b704f5a1.tar.gz |
Invocation server: also present the artifacts of an invocation
... if available. This can be useful, when presenting builds
that are mainly there to have artifacts available for manual
use.
Diffstat (limited to 'doc/invocations-http-server/templates/invocation.html')
-rw-r--r-- | doc/invocations-http-server/templates/invocation.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/invocations-http-server/templates/invocation.html b/doc/invocations-http-server/templates/invocation.html index 65ec9127..b09ca0ac 100644 --- a/doc/invocations-http-server/templates/invocation.html +++ b/doc/invocations-http-server/templates/invocation.html @@ -96,6 +96,22 @@ Inocations {{invocation | e}} {% if exit_code != None %} <li> exit code: {{ exit_code | e }}</li> {% endif %} + {% if artifacts %} + <li> + <details> + <summary>artifacts</summary> + <ul> + {% for entry in artifacts %} + <li> + <a href="/{{ entry["type"] | e}}/{{ entry["hash"] | e}}">{{ entry["path"] | e}}</a> + {% if entry["type"] == "blob" %} + <a href="/blob/{{ entry["hash"] | e}}/{{ entry["basename"] | e}}">[↓]</a> + {% endif %} + </li> + {% endfor %} + </ul> + </details> + {% endif %} </ul> {% if have_profile %} |