| 1 | - defaults: |
| 2 | name: binutils-gdb |
| 3 | description: | |
| 4 | GDB TODO |
| 5 | |
| 6 | <p>Job is managed by Jenkins Job Builder.</p> |
| 7 | |
| 8 | project-type: freestyle |
| 9 | |
| 10 | wrappers: |
| 11 | - ansicolor |
| 12 | - timeout: |
| 13 | timeout: 20 |
| 14 | fail: true |
| 15 | type: no-activity |
| 16 | - timestamps |
| 17 | - workspace-cleanup: |
| 18 | clean-if: |
| 19 | - failure: false |
| 20 | |
| 21 | scm: |
| 22 | - git: |
| 23 | url: git://git-mirror.internal.efficios.com/git/binutils-gdb.git |
| 24 | branches: |
| 25 | - origin/{version} |
| 26 | basedir: src/binutils-gdb |
| 27 | skip-tag: true |
| 28 | |
| 29 | triggers: |
| 30 | - pollscm: |
| 31 | cron: "@hourly" |
| 32 | |
| 33 | properties: |
| 34 | - inject: |
| 35 | properties-content: | |
| 36 | PROJECT_NAME=gdb |
| 37 | - build-discarder: |
| 38 | num-to-keep: 10 |
| 39 | |
| 40 | |
| 41 | ## Templates ## |
| 42 | - job-template: |
| 43 | name: binutils-gdb_{version}_build |
| 44 | defaults: binutils-gdb |
| 45 | |
| 46 | project-type: matrix |
| 47 | node: 'master' # Applies only to matrix flyweight task |
| 48 | axes: |
| 49 | - axis: |
| 50 | type: slave |
| 51 | name: arch |
| 52 | values: '{obj:arch}' |
| 53 | |
| 54 | builders: |
| 55 | - shell: |
| 56 | !include-raw-escape: |
| 57 | - scripts/common/print.sh |
| 58 | - scripts/binutils-gdb/build.sh |
| 59 | |
| 60 | publishers: |
| 61 | - archive: |
| 62 | artifacts: 'build/**,results/**' |
| 63 | allow-empty: false |
| 64 | - junit: |
| 65 | results: 'results/*.xml' |
| 66 | |
| 67 | - job-template: |
| 68 | name: dev_gerrit_binutils-gdb_build |
| 69 | defaults: binutils-gdb |
| 70 | concurrent: true |
| 71 | |
| 72 | scm: |
| 73 | - git: |
| 74 | url: https://review.lttng.org/binutils-gdb |
| 75 | refspec: 'refs/changes/*:refs/changes/*' |
| 76 | branches: |
| 77 | - '$GERRIT_REFSPEC' |
| 78 | basedir: src/binutils-gdb |
| 79 | skip-tag: true |
| 80 | |
| 81 | triggers: |
| 82 | - gerrit: |
| 83 | trigger-on: |
| 84 | - comment-added-event: |
| 85 | approval-category: 'CI-Build' |
| 86 | approval-value: 1 |
| 87 | projects: |
| 88 | - project-compare-type: 'PLAIN' |
| 89 | project-pattern: 'binutils-gdb' |
| 90 | branches: |
| 91 | - branch-compare-type: 'ANT' |
| 92 | branch-pattern: '**' |
| 93 | |
| 94 | node: 'amd64' |
| 95 | |
| 96 | builders: |
| 97 | - shell: |
| 98 | !include-raw-escape: |
| 99 | - scripts/common/print.sh |
| 100 | - scripts/binutils-gdb/build.sh |
| 101 | |
| 102 | properties: |
| 103 | - build-discarder: |
| 104 | days-to-keep: 1 |
| 105 | |
| 106 | |
| 107 | ## Views ## |
| 108 | - view-template: |
| 109 | name: 'GDB' |
| 110 | view-type: list |
| 111 | regex: 'binutils-gdb[-_].*' |
| 112 | |
| 113 | |
| 114 | ## Projects ## |
| 115 | - project: |
| 116 | name: binutils-gdb |
| 117 | version: |
| 118 | - master |
| 119 | jobs: |
| 120 | - 'binutils-gdb_{version}_build': |
| 121 | arch: !!python/tuple [amd64] |
| 122 | |
| 123 | - project: |
| 124 | name: gerrit-gdb |
| 125 | jobs: |
| 126 | - 'dev_gerrit_binutils-gdb_build' |
| 127 | |
| 128 | - project: |
| 129 | name: gdb-views |
| 130 | views: |
| 131 | - GDB |