aboutsummaryrefslogtreecommitdiff
path: root/systems-diagnostics-controller.yaml
blob: cb87627bb6b93d55cac71b0efc9a09cefbbce465 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
- job:
    name: systems-diagnostics-controller
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-discover
            everyone-flat:
                - job-build
                - job-read
                - job-extended-read
                - job-configure
                - job-cancel
        - build-discarder:
            days-to-keep: 5
            num-to-keep: 10
    disabled: false
    node: master
    display-name: 'Systems Diagnostics - Controller'

    wrappers:
        - timestamps
        - credentials-binding:
            - text:
                credential-id: JJB_USER
                variable: JJB_USER
        - credentials-binding:
            - text:
                credential-id: JJB_PASSWORD
                variable: JJB_PASSWORD
        - credentials-binding:
            - text:
                credential-id: LAVA_USER
                variable: LAVA_USER
        - credentials-binding:
            - text:
                credential-id: LAVA_TOKEN
                variable: LAVA_TOKEN
        - credentials-binding:
            - text:
                credential-id: DEV_PRIVATE_KEY
                variable: DEV_PRIVATE_KEY
        - credentials-binding:
            - text:
                credential-id: AUTH_TOKEN
                variable: AUTH_TOKEN
        - ssh-agent-credentials:
                users:
                    - '768c1ba1-6052-4b97-a531-7e4fabda6979'
    builders:
        - shell: |
            #!/bin/bash -e
            curl -o ./diag.sh https://people.linaro.org/~kelley.spoon/diag.sh
            /bin/bash ./diag.sh
            rm -f ./diag.sh
    publishers:
        - email:
            recipients: 'kelley.spoon@linaro.org'