aboutsummaryrefslogtreecommitdiff
path: root/linaro-art-vixlpresubmit.yaml
blob: e9475aa4d816583698d06272fa7b9e64f03dc134 (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
- job:
    name: linaro-art-vixlpresubmit
    project-type: freestyle
    defaults: global
    description: >
      Runs the
      <a href="https://git.linaro.org/arm/vixl.git/tree/tools/test.py">Vixl Presubmit Tests</a>
      using the
      <a href="https://git.linaro.org/arm/vixl.git/about">Linaro VIXL tree.</a>
    properties:
        - authorization:
            anonymous:
                - job-discover
                - job-read
            linaro-android-builders:
                - job-read
                - job-extended-read
                - job-workspace
            linaro-vixl:
                - job-build
                - 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
    disabled: false
    node: docker-xenial-aosp
    display-name: 'VIXL: Presubmit Test'
    concurrent: true
    triggers:
        - gerrit:
            server-name: review.linaro.org
            override-votes: true
            gerrit-build-successful-verified-value: 1
            gerrit-build-failed-verified-value: -1
            trigger-on:
                - patchset-created-event
            projects:
                - project-compare-type: 'PLAIN'
                  project-pattern: 'arm/vixl'
                  branches:
                      - branch-pattern: 'master'
            silent: false
            silent-start: true
    wrappers:
        - timestamps
        - timeout:
            timeout: 60
    builders:
        - shell: |
            #!/bin/bash -xe

            export PATH="${HOME}/bin:${PATH}"

            ART_BUILD_SCRIPTS_DIR="${WORKSPACE}/art-build-scripts"
            git clone https://android-git.linaro.org/git/linaro-art/art-build-scripts.git ${ART_BUILD_SCRIPTS_DIR}

            cd ${ART_BUILD_SCRIPTS_DIR}/
            ./jenkins/setup_host.sh
            ./jenkins/presubmit_vixl_test.sh
    publishers:
        - email:
            recipients: 'vishal.bhoj@linaro.org daniel.diaz@linaro.org julien.duraj@linaro.org'
        - groovy-postbuild:
            script:
              !include-raw:
                - linaro-art/global.groovy