summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--job-cfg/d-i.yaml2
-rw-r--r--logparse/debian-installer.rules16
2 files changed, 17 insertions, 1 deletions
diff --git a/job-cfg/d-i.yaml b/job-cfg/d-i.yaml
index f368d3a2..cf775379 100644
--- a/job-cfg/d-i.yaml
+++ b/job-cfg/d-i.yaml
@@ -103,7 +103,7 @@
- pollscm: "*/6 * * * *"
publishers:
- logparser:
- rulespath: '/srv/jenkins/logparse/debian.rules'
+ rulespath: '/srv/jenkins/logparse/debian-installer.rules'
unstable_on_warning: 'true'
fail_on_error: 'true'
- email:
diff --git a/logparse/debian-installer.rules b/logparse/debian-installer.rules
new file mode 100644
index 00000000..3169ccae
--- /dev/null
+++ b/logparse/debian-installer.rules
@@ -0,0 +1,16 @@
+# see https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin
+
+ok /not really/
+ok /^dpkg-source: warning/
+ok /^dpkg-gencontrol: warning/
+
+# match line starting with 'error ', case-insensitive
+error /(?i)^error /
+
+# list of warnings here...
+warning /[Ww]arning/
+warning /WARNING/
+
+# create a quick access link to lines in the report containing 'INFO'
+info /INFO/
+