[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible coreboot: use special logparse rules

Holger Levsen holger at moszumanska.debian.org
Mon Jun 8 08:24:58 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 151f81520c2f2adc603eeef61e8c5ee03e41b852
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Jun 8 10:24:32 2015 +0200

    reproducible coreboot: use special logparse rules
---
 job-cfg/reproducible.yaml         | 36 +++++++++++++++++++++++++++++++++++-
 logparse/reproducible-extra.rules |  9 +++++++++
 logparse/reproducible.rules       |  4 ----
 3 files changed, 44 insertions(+), 5 deletions(-)

diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index d8300d9..5c4f875 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -120,6 +120,40 @@
           recipients: '{my_recipients}'
           notify-every-unstable-build: false
 
+- defaults:
+    name: reproducible_other_projects
+    project-type: freestyle
+    triggers:
+      - timed: '{my_timed}'
+    properties:
+      - sidebar:
+          url: https://jenkins.debian.net/userContent/about.html
+          text: About jenkins.debian.net
+          icon: /userContent/images/debian-swirl-24x24.png
+      - sidebar:
+          url: https://jenkins.debian.net/view/reproducible
+          text: reproducible builds jobs
+          icon: /userContent/images/debian-jenkins-24x24.png
+      - sidebar:
+          url: http://www.profitbricks.co.uk
+          text: Sponsored by Profitbricks
+          icon: /userContent/images/profitbricks-24x24.png
+    description: '{my_description}<br>Job configuration source is <a href="http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/job-cfg/reproducible.yaml">reproducible.yaml</a>.<br>Results are available at <a href="https://reproducible.debian.net/">https://reproducible.debian.net</a>.'
+    logrotate:
+      daysToKeep: 90
+      numToKeep: 30
+      artifactDaysToKeep: -1
+      artifactNumToKeep: -1
+    builders:
+      - shell: '{my_shell}'
+    publishers:
+      - logparser:
+          parse-rules: '/srv/jenkins/logparse/reproducible-extra.rules'
+          unstable-on-warning: 'true'
+          fail-on-error: 'true'
+      - email:
+          recipients: '{my_recipients}'
+
 - job-template:
     defaults: reproducible
     name: '{name}_maintenance'
@@ -229,7 +263,7 @@
     name: '{name}_builder_theta'
 
 - job-template:
-    defaults: reproducible
+    defaults: reproducible_other_projects
     name: '{name}_coreboot'
 
 - project:
diff --git a/logparse/reproducible-extra.rules b/logparse/reproducible-extra.rules
new file mode 100644
index 0000000..031a79d
--- /dev/null
+++ b/logparse/reproducible-extra.rules
@@ -0,0 +1,9 @@
+# see https://wiki.jenkins-ci.org/display/JENKINS/Log+Parser+Plugin
+
+# list of warnings here...
+
+# coreboot
+warning /.+recipe for target.+ failed/
+warning /skipping.+because we're missing compilers for.+/
+warning /make: *** .+ Error 1/
+
diff --git a/logparse/reproducible.rules b/logparse/reproducible.rules
index b36d4d5..42ae37a 100644
--- a/logparse/reproducible.rules
+++ b/logparse/reproducible.rules
@@ -19,7 +19,3 @@ warning /Warning: This query produces no results:.+/
 warning /Warning: couldn't delete old files from.+/
 warning /Warning: dose-deb-coinstall cannot.+/
 
-# coreboot
-
-#warning /.+recipe for target.+ failed/
-#warning /skipping.+because we're missing compilers for.+/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list