]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
new feature: console log output parsing
authorHolger Levsen <holger@layer-acht.org>
Tue, 5 Mar 2013 18:29:11 +0000 (19:29 +0100)
committerHolger Levsen <holger@layer-acht.org>
Tue, 5 Mar 2013 18:29:11 +0000 (19:29 +0100)
logparse/gw-autotest.rules [new file with mode: 0644]

diff --git a/logparse/gw-autotest.rules b/logparse/gw-autotest.rules
new file mode 100644 (file)
index 0000000..f06cc64
--- /dev/null
@@ -0,0 +1,25 @@
+# see https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin
+
+ok /not really/
+
+
+# examples for ok despite warnings
+ok /^WARNING: U.{5}: can not be positioned properly/
+ok /^WARNING: U.{5}: no glyph defined/
+ok /^WARNING: U.{5}: .+ broken pixel/
+ok /^WARNING: Unknown X keysym/
+ok /^WARNING: Can not find/
+ok /^WARNING: Skipping too long sequence:/
+
+
+# match line starting with 'error ', case-insensitive
+error /(?i)^error /
+error /^FINE: Abort. Could not ping all machines./
+
+# list of warnings here...
+warning /[Ww]arning/
+warning /WARNING/
+
+# create a quick access link to lines in the report containing 'INFO'
+info /INFO/
+