From 5fbd96bd72e017d749a1ca37ad20afc5fc1af54a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 12 Nov 2012 23:28:30 +0100 Subject: ignore dpkg-source and dpkg-gencontrol warnings on d-i builds --- job-cfg/d-i.yaml | 2 +- logparse/debian-installer.rules | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 logparse/debian-installer.rules 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/ + -- cgit v1.2.3-54-g00ecf