aboutsummaryrefslogtreecommitdiff
path: root/linaro-art-tip-build-ARTBuild.yaml
blob: 883104fd6dfa1fb608bab1f4df8ef2583e94ae78 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
- scm:
    name: art
    scm:
        - git:
            url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/art.git
            branches:
                - origin/master
            credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
- scm:
    name: bionic
    scm:
        - git:
            url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/bionic.git
            branches:
                - origin/master
            credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
- scm:
    name: build
    scm:
        - git:
            url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/build.git
            branches:
                - origin/master
            credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
- scm:
    name: vixl
    scm:
        - git:
            url: ssh://git@dev-private-git.linaro.org/linaro-art/platform/external/vixl.git
            branches:
                - origin/master
            credentials-id: '768c1ba1-6052-4b97-a531-7e4fabda6979'
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
- job:
    name: linaro-art-tip-build-ARTBuild
    project-type: freestyle
    defaults: global
    description: >
      Builds arm and arm64 dependencies to run the art-tests on a target device.
      The compressed archives are published on the Linaro publish server.
    properties:
        - authorization:
            anonymous:
                - job-discover
            linaro-android-builders:
                - job-read
                - job-extended-read
                - job-workspace
            linaro-art:
                - job-build
                - job-read
                - job-extended-read
                - job-workspace
        - build-discarder:
            days-to-keep: 60
            num-to-keep: 60
    parameters:
        - string:
            name: BUILD_CONFIG_REPO
            default: 'git://android-git.linaro.org/android-build-configs.git'
        - string:
            name: BUILD_CONFIG_BRANCH
            default: 'master'
        - string:
            name: BUILD_CONFIG_FILENAME
            default: 'linaro-art-tip-short'
        - string:
            name: ART_BUILD_SCRIPTS_REFSPEC
            description: |-
              Git refspec to get ART build scripts from.
              To use a gerrit patch specify this to the appropriate patch
              ref and the ART_BUILD_SCRIPTS_REF to FETCH_HEAD.
              Example - refs/changes/81/20281/23
            default: '+refs/heads/*:refs/remotes/origin/*'
        - string:
            name: ART_BUILD_SCRIPTS_REF
            description: |-
              Git branch to get pipeline scripts from.
              To use a gerrit patch specify ART_BUILD_SCRIPTS_REFSPEC to the appropriate patch
              ref and this to FETCH_HEAD.
              Example - master or FETCH_HEAD
            default: 'master'
            # TODO: once patch above merged, change the default to below
            #default: 'master'
    disabled: false
    node: docker-bionic-art
    display-name: 'Tip: build ART & deps'
    concurrent: true
    scm:
        - art
        - bionic
        - build
        - vixl
    triggers:
        - pollscm: 'H 3 * * *'
    wrappers:
        - timestamps
        - timeout:
            timeout: 500
        - ssh-agent-credentials:
                users:
                    - '768c1ba1-6052-4b97-a531-7e4fabda6979'
        - credentials-binding:
            - text:
                credential-id: QA_REPORTS_TOKEN
                variable: QA_REPORTS_TOKEN
    builders:
        - linaro-publish-token
        - shell:
            !include-raw:
                - linaro-art/build/builders.sh
    publishers:
        - archive:
            artifacts: '*.txt, *.xml, *.json'
        - groovy-postbuild:
            script:
              !include-raw:
                - linaro-art/global.groovy