aboutsummaryrefslogtreecommitdiff
path: root/jdk-cache-files2.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2018-10-11 14:27:58 +0100
committerStuart Monteith <stuart.monteith@linaro.org>2018-10-11 14:27:58 +0100
commit48ce3bd71e3198ed877ee8bd4a7064636830f2c5 (patch)
tree23ecc8a00cb6b44afa7556c07ad620ba636f8d43 /jdk-cache-files2.yaml
parent8837d2e07a96dac66c38b8c70a2222dc01b6d574 (diff)
jdk: Create jdk-cache-files2.yaml
Maybe jdk-cache-files is cursed. Create a twin. Change-Id: If411653ee09771390f115ebc7631b80c670c6496
Diffstat (limited to 'jdk-cache-files2.yaml')
-rw-r--r--jdk-cache-files2.yaml59
1 files changed, 59 insertions, 0 deletions
diff --git a/jdk-cache-files2.yaml b/jdk-cache-files2.yaml
new file mode 100644
index 00000000..7dd8e352
--- /dev/null
+++ b/jdk-cache-files2.yaml
@@ -0,0 +1,59 @@
+- job:
+ name: jdk-cache-files2
+ project-type: matrix
+ defaults: global
+ description: |
+ Download and unpack boot jdks.
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ openjdk-members:
+ - job-build
+ - job-cancel
+ - build-discarder:
+ num-to-keep: 10
+ artifact-num-to-keep: 1
+ disabled: false
+ node: master
+ concurrent: false
+ display-name: 'OpenJDK - Cache files - the revenge'
+ wrappers:
+ - timestamps
+ axes:
+ - axis:
+ type: slave
+ name: node
+ values:
+ - aarch64-06
+ - j12-qrep-01
+ execution-strategy:
+ sequential: false
+ builders:
+ - copyartifact:
+ project: openjdk8-hadoop-LCA14
+ filter: 'out/openjdk8-hadoop-LCA14.tar.gz'
+ flatten: true
+ - copyartifact:
+ project: archive-specjbb2015-product-tarball
+ filter: 'out/SPECjbb2015.tgz'
+ flatten: true
+ - shell: |
+ #!/bin/bash
+
+ JDK8u=jdk8u-server-release-1804
+ JDK10=jdk10-server-release-1804
+
+ rm -rf jdk*
+ wget http://openjdk.linaro.org/releases/${JDK8u}.tar.xz http://openjdk.linaro.org/releases/${JDK10}.tar.xz
+ tar Jxf ${JDK8u}.tar.xz
+ tar Jxf ${JDK10}.tar.xz
+
+ mv ${JDK8u} jdk8u
+ mv ${JDK10} jdk10
+
+ find $PWD -maxdepth 1
+ publishers:
+ - email:
+ recipients: 'stuart.monteith@linaro.org'