aboutsummaryrefslogtreecommitdiff
path: root/jdkX-build-and-test.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2017-11-02 11:00:29 +0000
committerStuart Monteith <stuart.monteith@linaro.org>2017-11-07 11:10:36 +0000
commit3bc3d18f6e8818f2d34c79e57efda98422f5b6ca (patch)
tree0a2aee928ac02d651e252f254725dbd25d784728 /jdkX-build-and-test.yaml
parent117c1bb250bb9eff295003ce60cfba72386c867b (diff)
jdk: Create OpenJDK JDK build projects.
Creates jdkX builds. These track the jdk/hs branch rather than jdk10/hs. These will be the development tree for every version of OpenJDK from now on. Change-Id: I6e2d93e7a830b22386e563dfcebf790e37f1d960
Diffstat (limited to 'jdkX-build-and-test.yaml')
-rw-r--r--jdkX-build-and-test.yaml120
1 files changed, 120 insertions, 0 deletions
diff --git a/jdkX-build-and-test.yaml b/jdkX-build-and-test.yaml
new file mode 100644
index 00000000..5c8fae0d
--- /dev/null
+++ b/jdkX-build-and-test.yaml
@@ -0,0 +1,120 @@
+- job:
+ name: jdkX-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 "jdkX-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 JDK - Build jdk images and run tests/benchmarks'
+ wrappers:
+ - workspace-cleanup:
+ dirmatch: false
+ - timestamps
+ builders:
+ - multijob:
+ name: 'Build jdk images'
+ condition: SUCCESSFUL
+ projects:
+ - name: jdkX-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: jdkX-specjbb2015-benchmark
+ current-parameters: true
+ restrict-matrix-project: 'JVM_VARIANT == "server"'
+ kill-phase-on: FAILURE
+ - multijob:
+ name: '1GB Terasort benchmark'
+ condition: SUCCESSFUL
+ projects:
+ - name: jdkX-terasort-benchmark
+ current-parameters: true
+ kill-phase-on: NEVER
+ - multijob:
+ name: 'JTREG tests'
+ condition: SUCCESSFUL
+ projects:
+ - name: jdkX-jtreg-test
+ current-parameters: true
+ predefined-parameters: 'XJTREG_SUBCATEGORIES=tools/javap/typeAnnotations'
+ kill-phase-on: NEVER
+ - multijob:
+ name: 'jcstress'
+ condition: COMPLETED
+ projects:
+ - name: jdkX-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: jdkX-publish-and-report
+ current-parameters: true
+ kill-phase-on: FAILURE
+ - copyartifact:
+ project: jdkX-update-src-tree
+ filter: 'out/*'
+ target: out
+ flatten: true
+ - copyartifact:
+ project: jdkX-build-image
+ filter: 'out/**/*'
+ target: out
+ flatten: true
+ - copyartifact:
+ project: jdkX-specjbb2015-benchmark
+ filter: 'out/**/*'
+ target: out
+ flatten: true
+ - copyartifact:
+ project: jdkX-terasort-benchmark
+ filter: 'out/**/*'
+ target: out
+ flatten: true
+ - copyartifact:
+ project: jdkX-jtreg-test
+ filter: 'out/**/*'
+ target: out
+ flatten: true
+ stable: true
+ - copyartifact:
+ project: jdkX-jcstress-test
+ filter: 'out/**/*'
+ target: out
+ flatten: true
+ publishers:
+ - archive:
+ artifacts: 'out/**/*'