Oliver Smith | 7ad596e | 2022-02-04 14:39:57 +0100 | [diff] [blame] | 1 | - project: |
| 2 | name: master-builds-dahdi-linux |
Harald Welte | 5f30e8d | 2023-06-06 15:57:40 +0200 | [diff] [blame] | 3 | type: |
| 4 | torvalds: |
| 5 | repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' |
| 6 | linux-ver: |
| 7 | - "master" |
| 8 | stable: |
| 9 | repo: 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git' |
| 10 | - linux-ver: |
| 11 | - "linux-4.19.y" |
| 12 | - "linux-5.10.y" |
| 13 | - "linux-6.1.y" |
Oliver Smith | 7ad596e | 2022-02-04 14:39:57 +0100 | [diff] [blame] | 14 | jobs: |
Harald Welte | 5f30e8d | 2023-06-06 15:57:40 +0200 | [diff] [blame] | 15 | - 'master-dahdi-linux-{type}-{linux-ver}' |
Oliver Smith | 7ad596e | 2022-02-04 14:39:57 +0100 | [diff] [blame] | 16 | |
| 17 | - job-template: |
Harald Welte | 5f30e8d | 2023-06-06 15:57:40 +0200 | [diff] [blame] | 18 | name: 'master-dahdi-linux-{type}-{linux-ver}' |
Oliver Smith | 7ad596e | 2022-02-04 14:39:57 +0100 | [diff] [blame] | 19 | project-type: freestyle |
Oliver Smith | 5f0876d | 2022-11-30 14:50:49 +0100 | [diff] [blame] | 20 | node: osmocom-master |
Oliver Smith | 7ad596e | 2022-02-04 14:39:57 +0100 | [diff] [blame] | 21 | concurrent: true |
| 22 | retry-count: 0 # scm checkout |
| 23 | properties: |
| 24 | - build-discarder: |
| 25 | days-to-keep: 30 |
Harald Welte | a052c13 | 2023-03-28 13:32:23 +0200 | [diff] [blame] | 26 | num-to-keep: 120 |
Oliver Smith | 7ad596e | 2022-02-04 14:39:57 +0100 | [diff] [blame] | 27 | description: | |
| 28 | Automatic jenkins test job of |
| 29 | <a href="https://gerrit.osmocom.org/#/q/status:open+project:dahdi-linux">dahdi-linux</a> |
| 30 | built against linux {linux-ver} |
| 31 | (<a href="https://osmocom.org/issues/5407">OS#5407</a>) |
| 32 | <br/><br/> |
| 33 | <b>Auto-generated using Jenkins Job Builder. DO NOT EDIT MANUALLY!</b> |
| 34 | |
| 35 | scm: |
Oliver Smith | 27a9092 | 2022-11-10 14:09:12 +0100 | [diff] [blame] | 36 | # Let jenkins clone the big linux repository and keep it between builds |
| 37 | # (wipe-workspace is false). Clone dahdi-linux with code from gerrit in |
| 38 | # the shell part below. |
Oliver Smith | 7ad596e | 2022-02-04 14:39:57 +0100 | [diff] [blame] | 39 | - git: |
| 40 | basedir: 'linux' |
Harald Welte | 5f30e8d | 2023-06-06 15:57:40 +0200 | [diff] [blame] | 41 | url: '{repo}' |
Oliver Smith | 7ad596e | 2022-02-04 14:39:57 +0100 | [diff] [blame] | 42 | branches: |
| 43 | - '{linux-ver}' |
| 44 | refspec: '{linux-ver}' |
| 45 | shallow-clone: true |
| 46 | wipe-workspace: false |
| 47 | clean: |
| 48 | before: true |
| 49 | |
| 50 | triggers: |
| 51 | - timed: "H H * * *" |
| 52 | |
| 53 | builders: |
| 54 | - shell: | |
Oliver Smith | 27a9092 | 2022-11-10 14:09:12 +0100 | [diff] [blame] | 55 | rm -rf dahdi-linux |
| 56 | git clone \ |
| 57 | --depth=1 \ |
| 58 | https://gerrit.osmocom.org/dahdi-linux |
| 59 | git -C dahdi-linux log --oneline |
| 60 | |
Oliver Smith | 7ad596e | 2022-02-04 14:39:57 +0100 | [diff] [blame] | 61 | docker run \ |
| 62 | --rm=true \ |
| 63 | -e "KSRC=/linux" \ |
| 64 | -v "$PWD/dahdi-linux:/build" \ |
| 65 | -v "$PWD/linux:/linux" \ |
Oliver Smith | 8424c59 | 2022-07-06 12:40:52 +0200 | [diff] [blame] | 66 | "$USER/debian-buster-jenkins" \ |
Oliver Smith | 7ad596e | 2022-02-04 14:39:57 +0100 | [diff] [blame] | 67 | timeout 10m su build -c /build/contrib/jenkins.sh |
| 68 | |
| 69 | publishers: |
| 70 | - warnings: |
| 71 | console-log-parsers: |
| 72 | - 'GNU C Compiler 4 (gcc)' |
| 73 | resolve-relative-paths: true |
| 74 | - email: |
| 75 | recipients: 'jenkins-notifications@lists.osmocom.org laforge@gnumonks.org' |
| 76 | send-to-individuals: true |
| 77 | |
| 78 | # vim: expandtab tabstop=2 shiftwidth=2 |