jjb: Use `**/*.log` to glob TAP log files
[lttng-ci.git] / jobs / normand.yaml
1 ---
2 ## Defaults ##
3 - defaults:
4 name: normand
5 description: |
6 <p>
7 <em><strong><a href="https://github.com/efficios/normand">Normand</a></strong></em>
8 is a text-to-binary processor with its own language.
9 <p>
10 Job is managed by Jenkins Job Builder.
11
12 project-type: freestyle
13
14 wrappers:
15 - ansicolor: &normand_wrapper_ansicolor_defaults
16 colormap: xterm
17 - timeout: &normand_wrapper_timeout_defaults
18 timeout: 20
19 fail: true
20 type: no-activity
21 - timestamps
22 - workspace-cleanup
23
24 scm:
25 - git:
26 url: https://github.com/{github_user}/{github_name}.git
27 browser: githubweb
28 browser-url: https://github.com/{github_user}/{github_name}
29 branches:
30 - origin/{version}
31 basedir: src/normand
32 skip-tag: true
33
34 triggers:
35 - github
36 - pollscm:
37 cron: "@hourly"
38
39 properties:
40 - build-discarder:
41 num-to-keep: 10
42 artifact-num-to-keep: 2
43 - github:
44 url: https://github.com/{github_user}/{github_name}
45
46 publishers:
47 - workspace-cleanup: &normand_publisher_workspace_cleanup_defaults
48 clean-if:
49 - failure: false
50 - ircbot: &normand_publisher_ircbot_defaults
51 strategy: statechange-only
52 message-type: summary
53 matrix-notifier: only-parent
54
55
56 ## Templates ##
57 - job-template:
58 name: normand_{version}_{buildtype}
59 defaults: normand
60
61 project-type: matrix
62 node: 'master' # Applies only to matrix flyweight task
63 axes:
64 - axis:
65 type: slave
66 name: platform
67 values: '{obj:platforms}'
68
69 builders:
70 - shell:
71 !include-raw-escape: scripts/normand/build.sh
72
73 publishers:
74 - workspace-cleanup: *normand_publisher_workspace_cleanup_defaults
75 - ircbot: *normand_publisher_ircbot_defaults
76 - email-ext:
77 recipients: '{obj:email_to}'
78 reply-to: ci-notification@lists.lttng.org
79 always: false
80 unstable: false
81 first-failure: true
82 first-unstable: true
83 not-built: false
84 aborted: false
85 regression: false
86 failure: false
87 second-failure: false
88 improvement: false
89 still-failing: false
90 success: false
91 fixed: false
92 fixed-unhealthy: true
93 still-unstable: false
94 pre-build: false
95 matrix-trigger: only-parent
96 send-to:
97 - recipients
98
99 - job-template:
100 name: dev_review_normand_{version}_{buildtype}
101 defaults: normand
102 concurrent: true
103
104 project-type: matrix
105 node: 'master' # Applies only to matrix flyweight task
106 axes:
107 - axis:
108 type: slave
109 name: platform
110 values: '{obj:platforms}'
111
112 scm:
113 - git:
114 url: https://review.lttng.org/normand
115 refspec: 'refs/changes/*:refs/changes/*'
116 branches:
117 - '$GERRIT_REFSPEC'
118 basedir: src/normand
119 skip-tag: true
120
121 triggers:
122 - gerrit:
123 trigger-on:
124 - comment-added-event:
125 approval-category: 'CI-Build'
126 approval-value: 1
127 projects:
128 - project-compare-type: 'PLAIN'
129 project-pattern: 'normand'
130 branches:
131 - branch-compare-type: 'PLAIN'
132 branch-pattern: '{version}'
133
134 properties:
135 - build-discarder:
136 days-to-keep: 1
137 - throttle:
138 option: 'category'
139 categories:
140 - 'gerrit-{buildtype}'
141
142 builders:
143 - shell:
144 !include-raw-escape: scripts/normand/build.sh
145
146 publishers:
147 - workspace-cleanup: *normand_publisher_workspace_cleanup_defaults
148
149
150 ## Views ##
151 - view-template:
152 name: Normand
153 view-type: list
154 regex: 'normand[-_].*'
155
156
157 ## Projects ##
158 - project:
159 name: normand
160 github_user: efficios
161 github_name: normand
162 email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com'
163 version:
164 - master
165 jobs:
166 - 'normand_{version}_{buildtype}':
167 buildtype: linuxbuild
168 platforms: !!python/tuple [deb12-amd64]
169
170 - project:
171 name: review-normand
172 github_user: efficios
173 github_name: normand
174 version:
175 - master
176 jobs:
177 - 'dev_review_normand_{version}_{buildtype}':
178 buildtype: linuxbuild
179 platforms: !!python/tuple [deb12-amd64]
180
181 - project:
182 name: normand-views
183 views:
184 - Normand
This page took 0.035735 seconds and 5 git commands to generate.