Commit | Line | Data |
---|---|---|
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: | |
34 | - pollscm: | |
35 | cron: "@hourly" | |
36 | ||
37 | properties: | |
38 | - build-discarder: | |
39 | num-to-keep: 2 | |
40 | - github: | |
41 | url: https://github.com/{github_user}/{github_name} | |
42 | ||
43 | ||
44 | ## Templates | |
45 | - job-template: | |
46 | name: barectf_{version}_build | |
47 | defaults: barectf | |
48 | ||
49 | project-type: matrix | |
50 | node: 'master' # Applies only to matrix flyweight task | |
51 | axes: | |
52 | - axis: | |
53 | type: slave | |
54 | name: arch | |
55 | values: '{obj:arch}' | |
56 | ||
57 | builders: | |
58 | - shell: | |
59 | !include-raw-escape: scripts/barectf/build.sh | |
60 | ||
61 | publishers: | |
62 | # - archive: | |
63 | # artifacts: 'build/**' | |
64 | # allow-empty: false | |
65 | - ircbot: | |
66 | strategy: new-failure-and-fixed | |
67 | matrix-notifier: only-parent | |
68 | channels: | |
69 | - name: '#lttng' | |
70 | ||
71 | ||
72 | - job-template: | |
73 | name: barectf_{version}_pylint | |
74 | defaults: barectf | |
75 | node: 'x86-64' | |
76 | ||
77 | triggers: | |
78 | - pollscm: | |
79 | cron: "@daily" | |
80 | ||
81 | builders: | |
82 | - shell: | |
83 | !include-raw-escape: scripts/barectf/pylint.sh | |
84 | ||
85 | publishers: | |
86 | - archive: | |
87 | artifacts: 'pep8.out,pylint.out' | |
88 | - violations: | |
89 | pep8: | |
90 | pattern: pep8.out | |
91 | min: 10 | |
92 | max: 999 | |
93 | unstable: 999 | |
94 | pylint: | |
95 | pattern: pylint.out | |
96 | min: 10 | |
97 | max: 999 | |
98 | unstable: 999 | |
99 | ||
100 | ||
101 | ## Project | |
102 | - project: | |
103 | name: barectf | |
104 | github_user: efficios | |
105 | github_name: barectf | |
106 | version: | |
107 | - master | |
108 | jobs: | |
109 | - 'barectf_{version}_build': | |
110 | arch: !!python/tuple [x86-32, x86-64] | |
111 | - 'barectf_{version}_pylint' | |
112 |