aboutsummaryrefslogtreecommitdiff
path: root/post-build-lava.yaml
blob: 8109751a3765cc9ea919739eb742dc3095e4a7a4 (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
- job:
    name: post-build-lava
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
        - throttle:
            option: project
            max-total: 1
    parameters:
        - file:
            name: post_build_lava_parameters
    node: docker-bionic
    display-name: 'Submit job to lava'
    wrappers:
        - credentials-binding:
            - text:
                credential-id: LAVA_USER
                variable: LAVA_USER
        - credentials-binding:
            - text:
                credential-id: LAVA_TOKEN
                variable: LAVA_TOKEN

    builders:
        - shell:
            !include-raw: post-build-lava/post-build-lava.py
    publishers:
        - groovy-postbuild:
            script:
                !include-raw:
                    - post-build-lava/postbuild.groovy
        - email:
            recipients: 'linaro-infrastructure-errors@lists.linaro.org'