1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2026-03-02 03:40:21 +00:00

example scripts for generating test reports

This commit is contained in:
Oliver Giles
2015-09-19 18:35:22 +02:00
parent a729a6782e
commit eee217d748
2 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
#!/bin/bash
cat <<EOF
<!doctype html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laminar</title>
<link href="/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="col-xs-12">
<h2>Test report for $lJobName #$lBuildNum</h2>
EOF
xsltproc $(dirname ${BASH_SOURCE[0]})/testreport.xsl $1;
cat <<EOF
</div>
</body>
</html>
EOF