aboutsummaryrefslogtreecommitdiff
path: root/jdk11-build-and-test.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2018-04-20 14:23:20 +0100
committerStuart Monteith <stuart.monteith@linaro.org>2018-06-26 15:03:46 +0100
commit6016be543a509f680f196fee532c376f24a98a5b (patch)
tree683c4444ebe87c4082e789d06570d91b7398ffb2 /jdk11-build-and-test.yaml
parent45e4717389fac7914f9ed7484b2e8db7be046ae5 (diff)
jdk: Create JDK 11 jobs.
The JDK 11 tree has branched off of the mainline. Create the appropriate jobs for building and testing it. Change-Id: Id6b23a35f0b4d33c163b1f8696cc5d4e9c9a1633
Diffstat (limited to 'jdk11-build-and-test.yaml')
-rw-r--r--jdk11-build-and-test.yaml127
1 files changed, 127 insertions, 0 deletions
diff --git a/jdk11-build-and-test.yaml b/jdk11-build-and-test.yaml
new file mode 100644
index 0000000000..1eb60f278f
--- /dev/null
+++ b/jdk11-build-and-test.yaml
@@ -0,0 +1,127 @@
+- job:
+ name: jdk11-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 "jdk11-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/.
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ openjdk-members:
+ - job-build
+ - job-cancel
+ - build-discarder:
+ days-to-keep: 30
+ num-to-keep: 10
+ artifact-num-to-keep: 5
+ parameters:
+ - string:
+ name: YEAR
+ default: 'default'
+ - string:
+ name: DAY_OF_YEAR
+ default: 'default'
+ disabled: false
+ node: master
+ display-name: 'OpenJDK 11 - Build jdk images and run tests/benchmarks'
+ wrappers:
+ - workspace-cleanup:
+ dirmatch: false
+ - timestamps
+ builders:
+ - multijob:
+ name: 'OpenJDK Clean job'
+ condition: SUCCESSFUL
+ projects:
+ - name: jdk-clean-job
+ current-parameters: true
+ kill-phase-on: NEVER
+ - multijob:
+ name: 'Build jdk images'
+ condition: SUCCESSFUL
+ projects:
+ - name: jdk11-build-image
+ current-parameters: true
+ kill-phase-on: FAILURE
+# FIXME - set SPECjbb2015 benchmark continuation condition from SUCCESSFUL to ALWAYS
+# Exception in thread "main" java.util.ServiceConfigurationError:
+# org.spec.jbb.core.comm.connectivity.ConnectivityProvider:
+# Provider org.spec.jbb.core.comm.connectivity.GrizzlyNioProvider could not be instantiated
+# Caused by: java.lang.IllegalStateException: java.lang.RuntimeException: java.lang.NullPointerException
+ - multijob:
+ name: 'SPECjbb2015 benchmark'
+ condition: ALWAYS
+ projects:
+ - name: jdk11-specjbb2015-benchmark
+ current-parameters: true
+ restrict-matrix-project: 'JVM_VARIANT == "server"'
+ kill-phase-on: FAILURE
+ - multijob:
+ name: '1GB Terasort benchmark'
+ condition: SUCCESSFUL
+ projects:
+ - name: jdk11-terasort-benchmark
+ current-parameters: true
+ kill-phase-on: NEVER
+ - multijob:
+ name: 'JTREG tests'
+ condition: SUCCESSFUL
+ projects:
+ - name: jdk11-jtreg-test
+ current-parameters: true
+ predefined-parameters: 'XJTREG_SUBCATEGORIES=tools/javap/typeAnnotations'
+ kill-phase-on: NEVER
+ - multijob:
+ name: 'jcstress'
+ condition: COMPLETED
+ projects:
+ - name: jdk11-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: jdk11-publish-and-report
+ current-parameters: true
+ kill-phase-on: FAILURE
+ - copyartifact:
+ project: jdk11-update-src-tree
+ filter: 'out/*'
+ target: out
+ flatten: true
+ - copyartifact:
+ project: jdk11-build-image
+ filter: 'out/**/*'
+ target: out
+ flatten: true
+ - copyartifact:
+ project: jdk11-specjbb2015-benchmark
+ filter: 'out/**/*'
+ target: out
+ flatten: true
+ - copyartifact:
+ project: jdk11-terasort-benchmark
+ filter: 'out/**/*'
+ target: out
+ flatten: true
+ - copyartifact:
+ project: jdk11-jtreg-test
+ filter: 'out/**/*'
+ target: out
+ flatten: true
+ stable: true
+ - copyartifact:
+ project: jdk11-jcstress-test
+ filter: 'out/**/*'
+ target: out
+ flatten: true
+ publishers:
+ - archive:
+ artifacts: 'out/**/*'