aboutsummaryrefslogtreecommitdiff
path: root/jdk9-build-and-test.yaml
blob: 4f9b7b47aab18316d35529ea245f2beb2dc51cc1 (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
- job:
    name: jdk9-build-and-test
    project-type: multijob
    defaults: global
    description: |
        * This jobs builds the jdk images and runs tests and benchmarks against the built images.<br>
        * <b>Note:</b> this job is usually triggered by a source change (ie. the "jdk9-update-src-tree" job).<br>
        If it is run manually it will use the source tarball from the last successful build of that job.<br>
        * If this jobs runs to completion the results are published to http://openjdk.linaro.org/.
    logrotate:
        numToKeep: 10
        artifactNumToKeep: 1
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
    disabled: false
    node: build
    display-name: 'OpenJDK 9 - Build jdk images and run tests/benchmarks'
    wrappers:
        - workspace-cleanup:
            dirmatch: false
        - timestamps
    builders:
        - multijob:
            name: 'Build jdk images'
            condition: SUCCESSFUL
            projects:
              - name: jdk9-build-image
                current-parameters: true
                kill-phase-on: FAILURE
        - multijob:
            name: 'SPECjbb2013 benchmark'
            condition: SUCCESSFUL
            projects:
              - name: jdk9-specjbb2013-benchmark
                current-parameters: true
                restrict-matrix-project: 'JVM_VARIANT == "server"'
                kill-phase-on: FAILURE
        - multijob:
            name: '1GB Terasort benchmark'
            condition: SUCCESSFUL
            projects:
              - name: jdk9-terasort-benchmark
                current-parameters: true
                kill-phase-on: NEVER
        - multijob:
            name: 'JTREG tests'
            condition: SUCCESSFUL
            projects:
              - name: jdk9-jtreg-test
                current-parameters: true
                predefined-parameters: 'XJTREG_SUBCATEGORIES=tools/javap/typeAnnotations'
                kill-phase-on: NEVER
        - multijob:
            name: 'jcstress'
            condition: COMPLETED
            projects:
              - name: jdk9-jcstress-test
                current-parameters: true
                restrict-matrix-project: 'JVM_VARIANT == "server"'
                kill-phase-on: FAILURE
        - multijob:
            name: 'Publish results to openjdk.linaro.org'
            condition: SUCCESSFUL
            projects:
              - name: jdk9-publish-and-report
                current-parameters: true
                kill-phase-on: FAILURE
        - copyartifact:
            project: jdk9-update-src-tree
            filter: 'out/*'
            target: out
            flatten: true
        - copyartifact:
            project: jdk9-build-image
            filter: 'out/**/*'
            target: out
            flatten: true
        - copyartifact:
            project: jdk9-specjbb2013-benchmark
            filter: 'out/**/*'
            target: out
            flatten: true
        - copyartifact:
            project: jdk9-terasort-benchmark
            filter: 'out/**/*'
            target: out
            flatten: true
        - copyartifact:
            project: jdk9-jtreg-test
            filter: 'out/**/*'
            target: out
            flatten: true
            stable: true
        - copyartifact:
            project: jdk9-jcstress-test
            filter: 'out/**/*'
            target: out
            flatten: true
    publishers:
        - archive:
            artifacts: 'out/**/*'
        - trigger-parameterized-builds:
            - project: jdk9-publish-and-report
              condition: SUCCESS
              current-parameters: true