aboutsummaryrefslogtreecommitdiff
path: root/jdk8-terasort-benchmark-persist-results.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-10-26 10:40:19 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2015-10-26 10:40:19 +0200
commit7abc672c2ebbc301ce28b042d79603d18fbde5e4 (patch)
treeca59c8974a8d55afc780f39668297726c40d7210 /jdk8-terasort-benchmark-persist-results.yaml
parente02f675716a18c1f1c38242825ec5ad0237b571f (diff)
jdk8-terasort-benchmark-persist-results: add new OpenJDK CI job
Change-Id: I4c79e1c6d6d3c8b7bd463f33c48fa66e67378e50 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'jdk8-terasort-benchmark-persist-results.yaml')
-rw-r--r--jdk8-terasort-benchmark-persist-results.yaml57
1 files changed, 57 insertions, 0 deletions
diff --git a/jdk8-terasort-benchmark-persist-results.yaml b/jdk8-terasort-benchmark-persist-results.yaml
new file mode 100644
index 0000000000..d0066bea6f
--- /dev/null
+++ b/jdk8-terasort-benchmark-persist-results.yaml
@@ -0,0 +1,57 @@
+- job:
+ name: jdk8-terasort-benchmark-persist-results
+ project-type: matrix
+ defaults: global
+ description: |
+ * Writes results to /work/openjdk-testing/hadoop-terasort-benchmark-results.
+ logrotate:
+ numToKeep: 10
+ properties:
+ - authorization:
+ linaro:
+ - job-read
+ disabled: false
+ node: aarch64-06
+ display-name: 'OpenJDK - Write terasort results'
+ axes:
+ - axis:
+ type: user-defined
+ name: JVM_VARIANT
+ values:
+ - server
+ - client
+ - axis:
+ type: user-defined
+ name: BUILD_TYPE
+ values:
+ - release
+ execution-strategy:
+ sequential: true
+ wrappers:
+ - workspace-cleanup:
+ dirmatch: false
+ - timestamps
+ - matrix-tie-parent:
+ node: aarch64-06
+ builders:
+ - copyartifact:
+ project: jdk8-terasort-benchmark
+ filter: 'out/terasort-results-${JVM_VARIANT}-${BUILD_TYPE}.csv'
+ target: incoming
+ flatten: true
+ - shell: |
+ #!/bin/bash
+
+ set -exu
+
+ new_results=incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT}/*.csv
+ prev_results=~openjdk-testing/hadoop-terasort-benchmark-results/results.csv
+
+ echo "Previous Results"
+ echo "----------------"
+ cat ${prev_results}
+ echo
+
+ cat ${new_results} >> ${prev_results}
+
+ ~openjdk-testing/hadoop-test-scripts/update-results-db