Add email notification to lttng-tools jobs
[lttng-ci.git] / jobs / barectf.yaml
CommitLineData
9b7bab3d
MJ
1- defaults:
2 name: barectf
3 description: |
4 <em><strong><a href="https://github.com/efficios/barectf">barectf</a></strong></em>
5 is a command-line utility which generates C99 code that is able to write
6 native Common Trace Format (CTF) binary streams.
7
8 <p>Job is managed by Jenkins Job Builder.</p>
9
10 project-type: freestyle
11
12 wrappers:
13 - workspace-cleanup
14 - timestamps
15 - ansicolor:
16 colormap: xterm
17 # - credentials-binding:
18 # - username-password-separated:
19 # credential-id: barectf_codecov_token
20 # username: CODECOV_PROJECT_NAME
21 # password: CODECOV_TOKEN
22
23 scm:
24 - git:
25 url: git://github.com/{github_user}/{github_name}.git
26 browser: githubweb
27 browser-url: https://github.com/{github_user}/{github_name}
28 branches:
29 - origin/{version}
30 basedir: src/barectf
31 skip-tag: true
32
33 triggers:
f78f03ce 34 - github
9b7bab3d
MJ
35 - pollscm:
36 cron: "@hourly"
37
38 properties:
39 - build-discarder:
40 num-to-keep: 2
41 - github:
42 url: https://github.com/{github_user}/{github_name}
43
44
45## Templates
46- job-template:
47 name: barectf_{version}_build
48 defaults: barectf
49
50 project-type: matrix
51 node: 'master' # Applies only to matrix flyweight task
52 axes:
53 - axis:
54 type: slave
55 name: arch
56 values: '{obj:arch}'
57
58 builders:
59 - shell:
60 !include-raw-escape: scripts/barectf/build.sh
61
62 publishers:
63# - archive:
64# artifacts: 'build/**'
65# allow-empty: false
66 - ircbot:
67 strategy: new-failure-and-fixed
68 matrix-notifier: only-parent
69 channels:
70 - name: '#lttng'
71
72
73- job-template:
74 name: barectf_{version}_pylint
75 defaults: barectf
76 node: 'x86-64'
77
78 triggers:
79 - pollscm:
80 cron: "@daily"
81
82 builders:
83 - shell:
84 !include-raw-escape: scripts/barectf/pylint.sh
85
86 publishers:
87 - archive:
88 artifacts: 'pep8.out,pylint.out'
89 - violations:
90 pep8:
91 pattern: pep8.out
92 min: 10
93 max: 999
94 unstable: 999
95 pylint:
96 pattern: pylint.out
97 min: 10
98 max: 999
99 unstable: 999
100
101
102## Project
103- project:
104 name: barectf
105 github_user: efficios
106 github_name: barectf
107 version:
108 - master
109 jobs:
110 - 'barectf_{version}_build':
111 arch: !!python/tuple [x86-32, x86-64]
112 - 'barectf_{version}_pylint'
113
This page took 0.026132 seconds and 4 git commands to generate.