summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2012-11-12 23:28:30 +0100
committerHolger Levsen <holger@layer-acht.org>2012-11-12 23:28:30 +0100
commit5fbd96bd72e017d749a1ca37ad20afc5fc1af54a (patch)
tree86d8c7a5c0c671918ba6e9b415d03582b59befff
parent71f37ff35c2abb3a8df5ed26745d35a8c9fd3df9 (diff)
downloadjenkins.debian.net-5fbd96bd72e017d749a1ca37ad20afc5fc1af54a.tar.xz
ignore dpkg-source and dpkg-gencontrol warnings on d-i builds
-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/
+