aboutsummaryrefslogtreecommitdiff
path: root/jdk-cache-files2.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2019-01-21 14:51:16 +0000
committerStuart Monteith <stuart.monteith@linaro.org>2019-01-21 14:51:16 +0000
commite82cd91c556488517f346e7c321f14640d7adbcd (patch)
tree1d80271a100df3cf149f64620fca6b408711145a /jdk-cache-files2.yaml
parent98f6540185849823eaed7187184917a4f8a62fea (diff)
jdk: jdk-cache-files2 create all dirs, specjbb-11
Create the current, new and old srv/jdk-cache directories to maintain idempotency. Download jdk11 build version of SPECjbb2015 Change-Id: Ic7fadbc571da4e97e2bdea8a2587e8a38d0e8a18
Diffstat (limited to 'jdk-cache-files2.yaml')
-rw-r--r--jdk-cache-files2.yaml10
1 files changed, 8 insertions, 2 deletions
diff --git a/jdk-cache-files2.yaml b/jdk-cache-files2.yaml
index 9fc043388f..e679d38b80 100644
--- a/jdk-cache-files2.yaml
+++ b/jdk-cache-files2.yaml
@@ -39,13 +39,19 @@
project: archive-specjbb2015-product-tarball
filter: 'out/SPECjbb2015.tgz'
flatten: true
+ - copyartifact:
+ project: jdk-build-specjbb2015-jdk11
+ filter: 'out/SPECjbb2015-jdk11.tar.gz'
+ flatten: true
- shell: |
#!/bin/bash
set -eu
PERSIST=$HOME/srv/jdk-cache
NEW_PERSIST=$PERSIST-new
OLD_PERSIST=$PERSIST-old
- mkdir -p $NEW_PERSIST
+
+ # Creating all maintains idempotency.
+ mkdir -p $NEW_PERSIST $OLD_PERSIST $PERSIST
JDK8u=jdk8u-server-release-1804
JDK10=jdk10-server-release-1804
@@ -66,8 +72,8 @@
mv ${JDK11} $NEW_PERSIST/jdk11
mv openjdk8-hadoop-LCA14.tar.gz $NEW_PERSIST
-
mv SPECjbb2015.tgz $NEW_PERSIST
+ mv SPECjbb2015-jdk11.tar.gz $NEW_PERSIST
# Remove the old persist, make the current one the old, and the
# new one the current one.