aboutsummaryrefslogtreecommitdiff
path: root/ci-dockerfile-build.yaml
blob: 55421be4fa88f5470c91ababff9871cf2918e2b2 (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
- job:
    name: ci-dockerfile-build
    project-type: freestyle
    defaults: global
    properties:
        - authorization:
            anonymous:
                - job-discover
            linaro:
                - job-read
                - job-extended-read
                - job-build
                - job-cancel
        - build-discarder:
            days-to-keep: 90
            num-to-keep: 200
        - build-blocker:
            use-build-blocker: true
            blocking-jobs:
              - "ci-docker*"
            block-level: 'NODE'
    disabled: false
    display-name: 'Build docker image'
    parameters:
        - string:
            name: image
            description: 'docker image to build'
        - label:
            name: nodelabel
            description: 'build machine'
    wrappers:
        - timestamps
        - copy-to-slave:
            includes:
                - config.json
            relative-to: 'somewhereElse'
        - credentials-binding:
            - text:
                credential-id: DOCKER_AUTH
                variable: DOCKER_AUTH
    builders:
        - shell:
            !include-raw: ci-dockerfiles-deployment/build-image.sh
    publishers:
        - email:
            recipients: linaro-infrastructure-errors@lists.linaro.org