jjb: binutils-gdb: add email notification publisher
[lttng-ci.git] / jobs / binutils-gdb.yaml
1 - defaults:
2 name: binutils-gdb
3 description: |
4 Build and test GDB.
5
6 <p>Job is managed by Jenkins Job Builder.</p>
7
8 project-type: freestyle
9
10 wrappers:
11 - ansicolor
12 - timeout:
13 timeout: 20
14 fail: true
15 type: no-activity
16 - timestamps
17 - workspace-cleanup:
18 clean-if:
19 - failure: false
20
21 scm:
22 - git:
23 url: git://git-mirror.internal.efficios.com/git/binutils-gdb.git
24 branches:
25 - origin/{version}
26 basedir: src/binutils-gdb
27 skip-tag: true
28
29 triggers:
30 - pollscm:
31 cron: "@hourly"
32
33 properties:
34 - inject:
35 properties-content: |
36 PROJECT_NAME=gdb
37 - build-discarder:
38 num-to-keep: 10
39
40
41 ## Templates ##
42 - job-template:
43 name: binutils-gdb_{version}_build
44 defaults: binutils-gdb
45
46 project-type: matrix
47 node: 'master' # Applies only to matrix flyweight task
48 axes:
49 - axis:
50 type: slave
51 name: arch
52 values: '{obj:arch}'
53
54 builders:
55 - shell:
56 !include-raw-escape:
57 - scripts/common/print.sh
58 - scripts/binutils-gdb/build.sh
59
60 publishers:
61 - archive:
62 artifacts: 'build/**,results/**'
63 allow-empty: false
64 - junit:
65 results: 'results/*.xml'
66 - email:
67 recipients: 'simon.marchi@efficios.com'
68
69 - job-template:
70 name: dev_gerrit_binutils-gdb_build
71 defaults: binutils-gdb
72 concurrent: true
73
74 scm:
75 - git:
76 url: https://review.lttng.org/binutils-gdb
77 refspec: 'refs/changes/*:refs/changes/*'
78 branches:
79 - '$GERRIT_REFSPEC'
80 basedir: src/binutils-gdb
81 skip-tag: true
82
83 triggers:
84 - gerrit:
85 trigger-on:
86 - comment-added-event:
87 approval-category: 'CI-Build'
88 approval-value: 1
89 projects:
90 - project-compare-type: 'PLAIN'
91 project-pattern: 'binutils-gdb'
92 branches:
93 - branch-compare-type: 'ANT'
94 branch-pattern: '**'
95
96 node: 'amd64'
97
98 builders:
99 - shell:
100 !include-raw-escape:
101 - scripts/common/print.sh
102 - scripts/binutils-gdb/build.sh
103
104 publishers:
105 - archive:
106 artifacts: 'results/**'
107 allow-empty: false
108 - junit:
109 results: 'results/*.xml'
110
111 properties:
112 - build-discarder:
113 days-to-keep: 1
114
115
116 ## Views ##
117 - view-template:
118 name: 'GDB'
119 view-type: list
120 regex: 'binutils-gdb[-_].*'
121
122
123 ## Projects ##
124 - project:
125 name: binutils-gdb
126 version:
127 - master
128 jobs:
129 - 'binutils-gdb_{version}_build':
130 arch: !!python/tuple [amd64]
131
132 - project:
133 name: gerrit-gdb
134 jobs:
135 - 'dev_gerrit_binutils-gdb_build'
136
137 - project:
138 name: gdb-views
139 views:
140 - GDB
This page took 0.033743 seconds and 5 git commands to generate.