Stuart Monteith | 6016be5 | 2018-04-20 14:23:20 +0100 | [diff] [blame] | 1 | - job: |
| 2 | name: jdk11-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 "jdk11-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 Voipio | b7c49aa | 2020-12-01 15:15:24 +0200 | [diff] [blame] | 29 | disabled: true |
Kelley Spoon | 083a72b | 2022-04-26 07:05:14 -0500 | [diff] [blame] | 30 | node: master |
Stuart Monteith | 17cf7ee | 2018-11-12 10:14:24 +0000 | [diff] [blame] | 31 | display-name: 'OpenJDK 11u - Build jdk images and run tests/benchmarks' |
Stuart Monteith | 6016be5 | 2018-04-20 14:23:20 +0100 | [diff] [blame] | 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: jdk11-build-image |
| 49 | current-parameters: true |
| 50 | kill-phase-on: FAILURE |
Stuart Monteith | 920ed8a | 2018-10-15 10:07:04 +0100 | [diff] [blame] | 51 | # Get depenencies for subsequent jobs. |
| 52 | - multijob: |
| 53 | name: 'Get Deps' |
| 54 | condition: ALWAYS |
| 55 | projects: |
| 56 | - name: jdk11-get-deps |
| 57 | current-parameters: true |
| 58 | kill-phase-on: FAILURE |
Stuart Monteith | 6016be5 | 2018-04-20 14:23:20 +0100 | [diff] [blame] | 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: jdk11-specjbb2015-benchmark |
| 69 | current-parameters: true |
Stuart Monteith | 6016be5 | 2018-04-20 14:23:20 +0100 | [diff] [blame] | 70 | kill-phase-on: FAILURE |
| 71 | - multijob: |
| 72 | name: '1GB Terasort benchmark' |
| 73 | condition: SUCCESSFUL |
| 74 | projects: |
| 75 | - name: jdk11-terasort-benchmark |
| 76 | current-parameters: true |
| 77 | kill-phase-on: NEVER |
| 78 | - multijob: |
| 79 | name: 'JTREG tests' |
| 80 | condition: SUCCESSFUL |
| 81 | projects: |
| 82 | - name: jdk11-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: jdk11-jcstress-test |
| 91 | current-parameters: true |
Stuart Monteith | 6016be5 | 2018-04-20 14:23:20 +0100 | [diff] [blame] | 92 | kill-phase-on: FAILURE |
| 93 | - multijob: |
| 94 | name: 'Publish results to openjdk.linaro.org' |
| 95 | condition: SUCCESSFUL |
| 96 | projects: |
| 97 | - name: jdk11-publish-and-report |
| 98 | current-parameters: true |
| 99 | kill-phase-on: FAILURE |
| 100 | - copyartifact: |
| 101 | project: jdk11-update-src-tree |
| 102 | filter: 'out/*' |
| 103 | target: out |
| 104 | flatten: true |
| 105 | - copyartifact: |
| 106 | project: jdk11-build-image |
| 107 | filter: 'out/**/*' |
| 108 | target: out |
| 109 | flatten: true |
| 110 | - copyartifact: |
| 111 | project: jdk11-specjbb2015-benchmark |
| 112 | filter: 'out/**/*' |
| 113 | target: out |
| 114 | flatten: true |
| 115 | - copyartifact: |
| 116 | project: jdk11-terasort-benchmark |
| 117 | filter: 'out/**/*' |
| 118 | target: out |
| 119 | flatten: true |
| 120 | - copyartifact: |
| 121 | project: jdk11-jtreg-test |
| 122 | filter: 'out/**/*' |
| 123 | target: out |
| 124 | flatten: true |
| 125 | stable: true |
| 126 | - copyartifact: |
| 127 | project: jdk11-jcstress-test |
| 128 | filter: 'out/**/*' |
| 129 | target: out |
| 130 | flatten: true |
| 131 | publishers: |
| 132 | - archive: |
| 133 | artifacts: 'out/**/*' |