Riku Voipio | 000019b | 2019-06-07 10:00:24 +0300 | [diff] [blame] | 1 | - job: |
| 2 | name: swarm-demo |
| 3 | project-type: freestyle |
| 4 | defaults: global |
| 5 | properties: |
| 6 | - authorization: |
| 7 | anonymous: |
| 8 | - job-discover |
Benjamin Copeland | 9dc2eb8 | 2022-10-11 12:40:33 +0100 | [diff] [blame] | 9 | everyone-flat: |
Riku Voipio | 000019b | 2019-06-07 10:00:24 +0300 | [diff] [blame] | 10 | - job-read |
| 11 | - job-extended-read |
| 12 | - job-build |
| 13 | - job-cancel |
| 14 | - build-discarder: |
| 15 | days-to-keep: 10 |
| 16 | num-to-keep: 10 |
| 17 | disabled: false |
| 18 | display-name: 'Dummy job to run in swarm' |
Riku Voipio | 70340c2 | 2021-04-14 09:52:40 +0300 | [diff] [blame] | 19 | node: docker-bionic-arm64 |
Riku Voipio | 000019b | 2019-06-07 10:00:24 +0300 | [diff] [blame] | 20 | concurrent: true |
| 21 | parameters: |
| 22 | - string: |
| 23 | name: number |
| 24 | description: 'just something to make each job unique' |
| 25 | wrappers: |
| 26 | - timestamps |
| 27 | builders: |
| 28 | - shell: | |
| 29 | #!/bin/bash |
| 30 | # |
| 31 | echo "swarm build $number" |
| 32 | sleep 120 |
| 33 | echo "slept two minutes" |
| 34 | publishers: |
| 35 | - email: |
| 36 | recipients: linaro-infrastructure-errors@lists.linaro.org |