Commit | Line | Data |
---|---|---|
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}' | |
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 | ||
67 | - job-template: | |
68 | name: dev_gerrit_binutils-gdb_build | |
69 | defaults: binutils-gdb | |
70 | concurrent: true | |
71 | ||
72 | scm: | |
73 | - git: | |
74 | url: https://review.lttng.org/binutils-gdb | |
75 | refspec: 'refs/changes/*:refs/changes/*' | |
76 | branches: | |
77 | - '$GERRIT_REFSPEC' | |
78 | basedir: src/binutils-gdb | |
79 | skip-tag: true | |
80 | ||
81 | triggers: | |
82 | - gerrit: | |
83 | trigger-on: | |
84 | - comment-added-event: | |
85 | approval-category: 'CI-Build' | |
86 | approval-value: 1 | |
87 | projects: | |
88 | - project-compare-type: 'PLAIN' | |
89 | project-pattern: 'binutils-gdb' | |
90 | branches: | |
91 | - branch-compare-type: 'ANT' | |
92 | branch-pattern: '**' | |
93 | ||
94 | node: 'amd64' | |
95 | ||
96 | builders: | |
97 | - shell: | |
98 | !include-raw-escape: | |
99 | - scripts/common/print.sh | |
100 | - scripts/binutils-gdb/build.sh | |
101 | ||
f1fd87e0 SM |
102 | publishers: |
103 | - archive: | |
104 | artifacts: 'results/**' | |
105 | allow-empty: false | |
106 | - junit: | |
107 | results: 'results/*.xml' | |
108 | ||
91ba8aa1 MJ |
109 | properties: |
110 | - build-discarder: | |
111 | days-to-keep: 1 | |
112 | ||
113 | ||
114 | ## Views ## | |
115 | - view-template: | |
116 | name: 'GDB' | |
117 | view-type: list | |
118 | regex: 'binutils-gdb[-_].*' | |
119 | ||
120 | ||
121 | ## Projects ## | |
122 | - project: | |
123 | name: binutils-gdb | |
124 | version: | |
125 | - master | |
126 | jobs: | |
127 | - 'binutils-gdb_{version}_build': | |
128 | arch: !!python/tuple [amd64] | |
129 | ||
130 | - project: | |
131 | name: gerrit-gdb | |
132 | jobs: | |
133 | - 'dev_gerrit_binutils-gdb_build' | |
134 | ||
135 | - project: | |
136 | name: gdb-views | |
137 | views: | |
138 | - GDB |