| 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 | - github |
| 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 | - email-ext: |
| 67 | recipients: '{obj:email_to}' |
| 68 | reply-to: ci-notification@lists.lttng.org |
| 69 | always: false |
| 70 | unstable: false |
| 71 | first-failure: true |
| 72 | first-unstable: true |
| 73 | not-built: false |
| 74 | aborted: false |
| 75 | regression: false |
| 76 | failure: false |
| 77 | second-failure: false |
| 78 | improvement: false |
| 79 | still-failing: false |
| 80 | success: false |
| 81 | fixed: false |
| 82 | fixed-unhealthy: true |
| 83 | still-unstable: false |
| 84 | pre-build: false |
| 85 | matrix-trigger: only-parent |
| 86 | send-to: |
| 87 | - recipients |
| 88 | |
| 89 | - job-template: |
| 90 | name: barectf_{version}_pylint |
| 91 | defaults: barectf |
| 92 | node: 'amd64' |
| 93 | |
| 94 | triggers: |
| 95 | - pollscm: |
| 96 | cron: "@daily" |
| 97 | |
| 98 | builders: |
| 99 | - shell: |
| 100 | !include-raw-escape: scripts/barectf/pylint.sh |
| 101 | |
| 102 | publishers: |
| 103 | - archive: |
| 104 | artifacts: 'pep8.out,pylint.out' |
| 105 | - violations: |
| 106 | pep8: |
| 107 | pattern: pep8.out |
| 108 | min: 10 |
| 109 | max: 999 |
| 110 | unstable: 999 |
| 111 | pylint: |
| 112 | pattern: pylint.out |
| 113 | min: 10 |
| 114 | max: 999 |
| 115 | unstable: 999 |
| 116 | - email-ext: |
| 117 | recipients: '{obj:email_to}' |
| 118 | reply-to: ci-notification@lists.lttng.org |
| 119 | always: false |
| 120 | unstable: false |
| 121 | first-failure: true |
| 122 | first-unstable: true |
| 123 | not-built: false |
| 124 | aborted: false |
| 125 | regression: false |
| 126 | failure: false |
| 127 | second-failure: false |
| 128 | improvement: false |
| 129 | still-failing: false |
| 130 | success: false |
| 131 | fixed: false |
| 132 | fixed-unhealthy: true |
| 133 | still-unstable: false |
| 134 | pre-build: false |
| 135 | matrix-trigger: only-parent |
| 136 | send-to: |
| 137 | - recipients |
| 138 | |
| 139 | ## Project |
| 140 | - project: |
| 141 | name: barectf |
| 142 | github_user: efficios |
| 143 | github_name: barectf |
| 144 | email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com' |
| 145 | version: |
| 146 | - master |
| 147 | jobs: |
| 148 | - 'barectf_{version}_build': |
| 149 | arch: !!python/tuple [i386, amd64] |
| 150 | - 'barectf_{version}_pylint' |
| 151 | |