You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by aw...@apache.org on 2016/04/25 16:46:48 UTC
yetus git commit: YETUS-386. document --html-report-file and clean up
htmlout's comments
Repository: yetus
Updated Branches:
refs/heads/YETUS-156 b7c187fea -> 4d3b77310
YETUS-386. document --html-report-file and clean up htmlout's comments
Signed-off-by: Allen Wittenauer <aw...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/4d3b7731
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/4d3b7731
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/4d3b7731
Branch: refs/heads/YETUS-156
Commit: 4d3b77310e7dde2355466a6168116b240e4d1b83
Parents: b7c187f
Author: Allen Wittenauer <aw...@apache.org>
Authored: Sun Apr 24 11:33:33 2016 -0700
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Mon Apr 25 07:46:42 2016 -0700
----------------------------------------------------------------------
.../documentation/in-progress/precommit-qbt.md | 27 ++++++++++++++++++++
precommit/test-patch.d/htmlout.sh | 2 --
2 files changed, 27 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/yetus/blob/4d3b7731/asf-site-src/source/documentation/in-progress/precommit-qbt.md
----------------------------------------------------------------------
diff --git a/asf-site-src/source/documentation/in-progress/precommit-qbt.md b/asf-site-src/source/documentation/in-progress/precommit-qbt.md
index 2cb8036..3e8f578 100644
--- a/asf-site-src/source/documentation/in-progress/precommit-qbt.md
+++ b/asf-site-src/source/documentation/in-progress/precommit-qbt.md
@@ -35,3 +35,30 @@ email-ext plug-in to send the output as an emailed report:
```
${FILE,path="<report-file-path>"}
```
+
+For something a bit more structured, there is also the `--html-report-file`
+option. Using this output, again with Jenkins' email-ext plug-in, it is
+possible to build some very nice looking output that is easily customized:
+
+```
+<html>
+<head>
+<style>
+table {
+ border-collapse: collapse;
+}
+table, th, td {
+ border: 1px solid black;
+}
+tr:nth-child(even){background-color: #f2f2f2}
+</style>
+</head>
+<body>
+<p>See the <a href="${BUILD_URL}">Jenkins Build</a> for more information.</p>
+<p>${CHANGES, format="<div>[%d] (%a) %m</div>"}</p>
+<p></p>
+${FILE,path="<report-file-path>"}
+</body></html>
+```
+
+NOTE: Be aware that ASF mailing lists do not allow HTML formatted email.
http://git-wip-us.apache.org/repos/asf/yetus/blob/4d3b7731/precommit/test-patch.d/htmlout.sh
----------------------------------------------------------------------
diff --git a/precommit/test-patch.d/htmlout.sh b/precommit/test-patch.d/htmlout.sh
index 29af898..bf6d06e 100755
--- a/precommit/test-patch.d/htmlout.sh
+++ b/precommit/test-patch.d/htmlout.sh
@@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# This bug system provides github integration
-
add_bugsystem htmlout
## @description Usage info for htmlout plugin