| 1 | --- |
| 2 | ## Defaults ## |
| 3 | - defaults: |
| 4 | name: barectf |
| 5 | description: | |
| 6 | <em><strong><a href="https://github.com/efficios/barectf">barectf</a></strong></em> |
| 7 | is a command-line utility which generates C99 code that is able to write |
| 8 | native Common Trace Format (CTF) binary streams. |
| 9 | |
| 10 | <p>Job is managed by Jenkins Job Builder.</p> |
| 11 | |
| 12 | project-type: freestyle |
| 13 | |
| 14 | wrappers: |
| 15 | - ansicolor: &barectf_wrapper_ansicolor_defaults |
| 16 | colormap: xterm |
| 17 | - timeout: &barectf_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/barectf |
| 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: &barectf_publisher_workspace_cleanup_defaults |
| 48 | clean-if: |
| 49 | - failure: false |
| 50 | |
| 51 | |
| 52 | ## Templates ## |
| 53 | - job-template: |
| 54 | name: barectf_{version}_{buildtype} |
| 55 | defaults: barectf |
| 56 | |
| 57 | project-type: matrix |
| 58 | node: 'master' # Applies only to matrix flyweight task |
| 59 | axes: |
| 60 | - axis: |
| 61 | type: slave |
| 62 | name: platform |
| 63 | values: '{obj:platforms}' |
| 64 | |
| 65 | builders: |
| 66 | - shell: |
| 67 | !include-raw-escape: scripts/barectf/build.sh |
| 68 | |
| 69 | publishers: |
| 70 | - workspace-cleanup: *barectf_publisher_workspace_cleanup_defaults |
| 71 | - email-ext: |
| 72 | recipients: '{obj:email_to}' |
| 73 | reply-to: ci-notification@lists.lttng.org |
| 74 | always: false |
| 75 | unstable: false |
| 76 | first-failure: true |
| 77 | first-unstable: true |
| 78 | not-built: false |
| 79 | aborted: false |
| 80 | regression: false |
| 81 | failure: false |
| 82 | second-failure: false |
| 83 | improvement: false |
| 84 | still-failing: false |
| 85 | success: false |
| 86 | fixed: false |
| 87 | fixed-unhealthy: true |
| 88 | still-unstable: false |
| 89 | pre-build: false |
| 90 | matrix-trigger: only-parent |
| 91 | send-to: |
| 92 | - recipients |
| 93 | |
| 94 | - job-template: |
| 95 | name: dev_gerrit_barectf_{buildtype} |
| 96 | defaults: barectf |
| 97 | concurrent: true |
| 98 | |
| 99 | project-type: matrix |
| 100 | node: 'master' # Applies only to matrix flyweight task |
| 101 | axes: |
| 102 | - axis: |
| 103 | type: slave |
| 104 | name: platform |
| 105 | values: '{obj:platforms}' |
| 106 | |
| 107 | scm: |
| 108 | - git: |
| 109 | url: https://review.lttng.org/barectf |
| 110 | refspec: 'refs/changes/*:refs/changes/*' |
| 111 | branches: |
| 112 | - '$GERRIT_REFSPEC' |
| 113 | basedir: src/barectf |
| 114 | skip-tag: true |
| 115 | |
| 116 | triggers: |
| 117 | - gerrit: |
| 118 | trigger-on: |
| 119 | - comment-added-event: |
| 120 | approval-category: 'CI-Build' |
| 121 | approval-value: 1 |
| 122 | projects: |
| 123 | - project-compare-type: 'PLAIN' |
| 124 | project-pattern: 'barectf' |
| 125 | branches: |
| 126 | - branch-compare-type: 'ANT' |
| 127 | branch-pattern: '**' |
| 128 | |
| 129 | properties: |
| 130 | - build-discarder: |
| 131 | days-to-keep: 1 |
| 132 | - throttle: |
| 133 | option: 'category' |
| 134 | categories: |
| 135 | - 'gerrit-{buildtype}' |
| 136 | |
| 137 | builders: |
| 138 | - shell: |
| 139 | !include-raw-escape: scripts/barectf/build.sh |
| 140 | |
| 141 | |
| 142 | ## Views ## |
| 143 | - view-template: |
| 144 | name: 'Barectf' |
| 145 | view-type: list |
| 146 | regex: 'barectf[-_].*' |
| 147 | |
| 148 | |
| 149 | ## Projects ## |
| 150 | - project: |
| 151 | name: barectf |
| 152 | github_user: efficios |
| 153 | github_name: barectf |
| 154 | email_to: 'ci-notification@lists.lttng.org, cc:pproulx@efficios.com' |
| 155 | version: |
| 156 | - master |
| 157 | - stable-3.0 |
| 158 | jobs: |
| 159 | - 'barectf_{version}_{buildtype}': |
| 160 | buildtype: linuxbuild |
| 161 | platforms: !!python/tuple [jammy-amd64] |
| 162 | |
| 163 | - project: |
| 164 | name: gerrit-barectf |
| 165 | github_user: efficios |
| 166 | github_name: barectf |
| 167 | jobs: |
| 168 | - 'dev_gerrit_barectf_{buildtype}': |
| 169 | buildtype: linuxbuild |
| 170 | platforms: !!python/tuple [jammy-amd64] |
| 171 | |
| 172 | - project: |
| 173 | name: barectf-views |
| 174 | views: |
| 175 | - Barectf |