blob: deabef258f87c0b0f32d6fc667bb777abd99e5c6 [file] [log] [blame]
Stuart Monteith20f0edb2019-01-21 10:42:06 +00001- job:
2 name: jdk12-build-and-test
3 project-type: multijob
4 defaults: global
5 description: |
6 * This jobs builds the jdk images and runs tests and benchmarks against the built images.<br>
7 * <b>Note:</b> this job is usually triggered by a source change (ie. the "jdk12-update-src-tree" job).<br>
8 If it is run manually it will use the source tarball from the last successful build of that job.<br>
9 * If this jobs runs to completion the results are published to http://openjdk.linaro.org/.
10 properties:
11 - authorization:
12 anonymous:
13 - job-read
14 - job-extended-read
15 openjdk-members:
16 - job-build
17 - job-cancel
18 - build-discarder:
19 days-to-keep: 30
20 num-to-keep: 10
21 artifact-num-to-keep: 5
22 parameters:
23 - string:
24 name: YEAR
25 default: 'default'
26 - string:
27 name: DAY_OF_YEAR
28 default: 'default'
Riku Voipiob7c49aa2020-12-01 15:15:24 +020029 disabled: true
Kelley Spoon083a72b2022-04-26 07:05:14 -050030 node: master
Stuart Monteith20f0edb2019-01-21 10:42:06 +000031 display-name: 'OpenJDK 12 - Build jdk images and run tests/benchmarks'
32 wrappers:
33 - workspace-cleanup:
34 dirmatch: false
35 - timestamps
36 builders:
37 - multijob:
38 name: 'OpenJDK Clean job'
39 condition: SUCCESSFUL
40 projects:
41 - name: jdk-clean-job
42 current-parameters: true
43 kill-phase-on: NEVER
44 - multijob:
45 name: 'Build jdk images'
46 condition: SUCCESSFUL
47 projects:
48 - name: jdk12-build-image
49 current-parameters: true
50 kill-phase-on: FAILURE
51 # Get depenencies for subsequent jobs.
52 - multijob:
53 name: 'Get Deps'
54 condition: ALWAYS
55 projects:
56 - name: jdk12-get-deps
57 current-parameters: true
58 kill-phase-on: FAILURE
59# FIXME - set SPECjbb2015 benchmark continuation condition from SUCCESSFUL to ALWAYS
60# Exception in thread "main" java.util.ServiceConfigurationError:
61# org.spec.jbb.core.comm.connectivity.ConnectivityProvider:
62# Provider org.spec.jbb.core.comm.connectivity.GrizzlyNioProvider could not be instantiated
63# Caused by: java.lang.IllegalStateException: java.lang.RuntimeException: java.lang.NullPointerException
64 - multijob:
65 name: 'SPECjbb2015 benchmark'
66 condition: ALWAYS
67 projects:
68 - name: jdk12-specjbb2015-benchmark
69 current-parameters: true
70 kill-phase-on: FAILURE
71 - multijob:
72 name: '1GB Terasort benchmark'
73 condition: SUCCESSFUL
74 projects:
75 - name: jdk12-terasort-benchmark
76 current-parameters: true
77 kill-phase-on: NEVER
78 - multijob:
79 name: 'JTREG tests'
80 condition: SUCCESSFUL
81 projects:
82 - name: jdk12-jtreg-test
83 current-parameters: true
84 predefined-parameters: 'XJTREG_SUBCATEGORIES=tools/javap/typeAnnotations'
85 kill-phase-on: NEVER
86 - multijob:
87 name: 'jcstress'
88 condition: COMPLETED
89 projects:
90 - name: jdk12-jcstress-test
91 current-parameters: true
92 kill-phase-on: FAILURE
93 - multijob:
94 name: 'Publish results to openjdk.linaro.org'
95 condition: SUCCESSFUL
96 projects:
97 - name: jdk12-publish-and-report
98 current-parameters: true
99 kill-phase-on: FAILURE
100 - copyartifact:
101 project: jdk12-update-src-tree
102 filter: 'out/*'
103 target: out
104 flatten: true
105 - copyartifact:
106 project: jdk12-build-image
107 filter: 'out/**/*'
108 target: out
109 flatten: true
110 - copyartifact:
111 project: jdk12-specjbb2015-benchmark
112 filter: 'out/**/*'
113 target: out
114 flatten: true
115 - copyartifact:
116 project: jdk12-terasort-benchmark
117 filter: 'out/**/*'
118 target: out
119 flatten: true
120 - copyartifact:
121 project: jdk12-jtreg-test
122 filter: 'out/**/*'
123 target: out
124 flatten: true
125 stable: true
126 - copyartifact:
127 project: jdk12-jcstress-test
128 filter: 'out/**/*'
129 target: out
130 flatten: true
131 publishers:
132 - archive:
133 artifacts: 'out/**/*'