jjb: barectf: Move build to jammy-amd64 nodes
[lttng-ci.git] / jobs / binutils-gdb.yaml
CommitLineData
91ba8aa1
MJ
1- defaults:
2 name: binutils-gdb
3 description: |
d322ea80 4 Build and test GDB.
91ba8aa1
MJ
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}'
748dd275
SM
53 - axis:
54 type: user-defined
55 name: target_board
56 values: '{obj:target_board}'
57
58 builders:
59 - shell:
60 !include-raw-escape:
61 - scripts/common/print.sh
62 - scripts/binutils-gdb/build.sh
63
64 publishers:
65 - archive:
66 artifacts: 'build/**,results/**'
67 allow-empty: false
68 - junit:
69 results: 'results/*.xml'
70 - email:
71 recipients: 'simon.marchi@efficios.com'
91ba8aa1
MJ
72
73 builders:
74 - shell:
75 !include-raw-escape:
76 - scripts/common/print.sh
77 - scripts/binutils-gdb/build.sh
78
79 publishers:
80 - archive:
81 artifacts: 'build/**,results/**'
82 allow-empty: false
83 - junit:
84 results: 'results/*.xml'
f7ec2896
SM
85 - email:
86 recipients: 'simon.marchi@efficios.com'
91ba8aa1
MJ
87
88- job-template:
89 name: dev_gerrit_binutils-gdb_build
90 defaults: binutils-gdb
91 concurrent: true
92
748dd275
SM
93 project-type: matrix
94
91ba8aa1
MJ
95 scm:
96 - git:
97 url: https://review.lttng.org/binutils-gdb
98 refspec: 'refs/changes/*:refs/changes/*'
99 branches:
100 - '$GERRIT_REFSPEC'
101 basedir: src/binutils-gdb
102 skip-tag: true
103
104 triggers:
105 - gerrit:
106 trigger-on:
107 - comment-added-event:
108 approval-category: 'CI-Build'
109 approval-value: 1
110 projects:
111 - project-compare-type: 'PLAIN'
112 project-pattern: 'binutils-gdb'
113 branches:
114 - branch-compare-type: 'ANT'
115 branch-pattern: '**'
116
748dd275
SM
117 node: 'master'
118 axes:
119 - axis:
120 type: slave
121 name: arch
122 values: '{obj:arch}'
123 - axis:
124 type: user-defined
125 name: target_board
126 values: '{obj:target_board}'
91ba8aa1
MJ
127
128 builders:
129 - shell:
130 !include-raw-escape:
131 - scripts/common/print.sh
132 - scripts/binutils-gdb/build.sh
133
f1fd87e0
SM
134 publishers:
135 - archive:
136 artifacts: 'results/**'
137 allow-empty: false
138 - junit:
139 results: 'results/*.xml'
140
91ba8aa1
MJ
141 properties:
142 - build-discarder:
143 days-to-keep: 1
144
145
146## Views ##
147- view-template:
148 name: 'GDB'
149 view-type: list
150 regex: 'binutils-gdb[-_].*'
151
152
153## Projects ##
154- project:
155 name: binutils-gdb
156 version:
157 - master
158 jobs:
159 - 'binutils-gdb_{version}_build':
160 arch: !!python/tuple [amd64]
748dd275 161 target_board: !!python/tuple ["unix", "native-gdbserver", "native-extended-gdbserver"]
91ba8aa1
MJ
162
163- project:
164 name: gerrit-gdb
165 jobs:
748dd275
SM
166 - 'dev_gerrit_binutils-gdb_build':
167 arch: !!python/tuple [amd64]
168 target_board: !!python/tuple ["unix", "native-gdbserver", "native-extended-gdbserver"]
91ba8aa1
MJ
169
170- project:
171 name: gdb-views
172 views:
173 - GDB
This page took 0.029197 seconds and 4 git commands to generate.