aboutsummaryrefslogtreecommitdiff
path: root/swarm-demo.yaml
blob: 554508a1961adc9a3767503bf8b206550ee54ff0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
- job:
    name: swarm-demo
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-discover
            everyone-flat:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 10
            num-to-keep: 10
    disabled: false
    display-name: 'Dummy job to run in swarm'
    node: docker-bionic-arm64
    concurrent: true
    parameters:
        - string:
            name: number
            description: 'just something to make each job unique'
    wrappers:
        - timestamps
    builders:
        - shell: |
            #!/bin/bash
            #
            echo "swarm build $number"
            sleep 120
            echo "slept two minutes"
    publishers:
        - email:
            recipients: linaro-infrastructure-errors@lists.linaro.org