blob: 0c4679f9ce08a86b3f9f995bb24998c4d281f3b8 [file] [log] [blame]
Paul Sokolovsky638caf32023-07-02 13:43:56 +03001#!/bin/bash
2#
3# Copyright (c) 2023 Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7# Template to produce index.html for the "delta" build.
8
9cat <<EOF >index.html
10<html>
11<body>
12<h1>MISRA Delta reports for the patch</h1>
13
14<p>
15Patch: <a href="${GERRIT_CHANGE_URL}/${GERRIT_PATCHSET_NUMBER}">${GERRIT_CHANGE_URL}/${GERRIT_PATCHSET_NUMBER}</a><br />
16CI Build: <a href="${BUILD_URL}">${BUILD_URL}</a>
17</p>
18
19<li><a href="misra_delta.txt">Cumulative TXT report</a>
20<li><a href="diff_output/">Per MISRA rule TXT reports</a>
21<li><a href="new_issues_html/by_service.html#first_file/service&kind">New issues, groupped per file changed (HTML).</a>
22<li><a href="resolved_issues_html/by_service.html#first_file/service&kind">Resolved issues, groupped per file changed (HTML).</a>
23</body>
24</html>
25EOF