summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-08 10:24:32 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-08 10:24:32 +0200
commit151f81520c2f2adc603eeef61e8c5ee03e41b852 (patch)
tree320ce2fb13e167852d81b226e9d75f2400330090
parent3092f9f22cf6b2a1d7ac2dc40160f042daffa00a (diff)
downloadjenkins.debian.net-151f81520c2f2adc603eeef61e8c5ee03e41b852.tar.xz
reproducible coreboot: use special logparse rules
-rw-r--r--job-cfg/reproducible.yaml36
-rw-r--r--logparse/reproducible-extra.rules9
-rw-r--r--logparse/reproducible.rules4
3 files changed, 44 insertions, 5 deletions
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index d8300d99..5c4f875b 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 00000000..031a79db
--- /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 b36d4d5d..42ae37a6 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.+/