| 1 | - defaults: |
| 2 | name: lttng-analyses |
| 3 | description: | |
| 4 | LTTng analyses python scripts. |
| 5 | |
| 6 | <p>Job is managed by Jenkins Job Builder.</p> |
| 7 | |
| 8 | project-type: freestyle |
| 9 | |
| 10 | logrotate: |
| 11 | daysToKeep: -1 |
| 12 | numToKeep: 2 |
| 13 | artifactDaysToKeep: -1 |
| 14 | artifactNumToKeep: -1 |
| 15 | |
| 16 | wrappers: |
| 17 | - workspace-cleanup |
| 18 | - timestamps |
| 19 | - ansicolor: |
| 20 | colormap: xterm |
| 21 | |
| 22 | scm: |
| 23 | - git: |
| 24 | url: git://github.com/lttng/lttng-analyses.git |
| 25 | browser: githubweb |
| 26 | browser-url: https://github.com/lttng/lttng-analyses |
| 27 | branches: |
| 28 | - origin/{version} |
| 29 | |
| 30 | triggers: |
| 31 | - pollscm: |
| 32 | cron: "@hourly" |
| 33 | |
| 34 | properties: |
| 35 | - github: |
| 36 | url: https://github.com/lttng/lttng-analyses |
| 37 | |
| 38 | |
| 39 | ## Templates |
| 40 | - job-template: |
| 41 | name: lttng-analyses_{version}_pylint |
| 42 | defaults: lttng-analyses |
| 43 | node: 'x86-64' |
| 44 | |
| 45 | triggers: |
| 46 | - pollscm: |
| 47 | cron: "@daily" |
| 48 | |
| 49 | builders: |
| 50 | - copyartifact: |
| 51 | project: babeltrace-master/arch=x86-64,build=std,conf=python_bindings |
| 52 | which-build: last-successful |
| 53 | stable: true |
| 54 | filter: 'build/**' |
| 55 | target: 'deps/babeltrace' |
| 56 | - shell: |
| 57 | !include-raw-escape scripts/lttng-analyses/pylint.sh |
| 58 | |
| 59 | publishers: |
| 60 | - archive: |
| 61 | artifacts: 'pep8.out,pylint.out' |
| 62 | - violations: |
| 63 | pep8: |
| 64 | pattern: pep8.out |
| 65 | min: 10 |
| 66 | max: 999 |
| 67 | unstable: 999 |
| 68 | pylint: |
| 69 | pattern: pylint.out |
| 70 | min: 10 |
| 71 | max: 999 |
| 72 | unstable: 999 |
| 73 | - email: |
| 74 | recipients: 'ci-notification@lists.lttng.org' |
| 75 | notify-every-unstable-build: true |
| 76 | send-to-individuals: false |
| 77 | |
| 78 | |
| 79 | ## Project |
| 80 | - project: |
| 81 | name: lttng-analyses |
| 82 | version: |
| 83 | - master |
| 84 | jobs: |
| 85 | - 'lttng-analyses_{version}_pylint' |
| 86 | |