aboutsummaryrefslogtreecommitdiff
path: root/jdkX-build-image.yaml
diff options
context:
space:
mode:
authorStuart Monteith <stuart.monteith@linaro.org>2018-10-03 12:52:51 +0100
committerStuart Monteith <stuart.monteith@linaro.org>2018-10-03 12:00:04 +0000
commit2ea36ec5e7d3450f981d2e67ed3b6a7fc9c26799 (patch)
treecf3456df074496c87fc480ad66f64f0cb831bc53 /jdkX-build-image.yaml
parent9db618590cafe3ba8623fc477a39ce42e6eb14d7 (diff)
jdk: Fixup clean job and cd error.
bash 4.4 doesn't allow cd to be passed >1 path. This causes failures as the bootjdk files (jdk*/ and jdk*.tar.xz) both match. This patch deletes jdk*.tar.xz to produce a clean path. Changes release build-release job not to replace cacerts - they are packaged with JDK from now on anyway. Moved jdk-clean-job to j12-qrep-01 - not sure how that was missed. Change-Id: I0bc09d646f65a96ee26ac76b8347ad5e6a9d92e9
Diffstat (limited to 'jdkX-build-image.yaml')
-rw-r--r--jdkX-build-image.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/jdkX-build-image.yaml b/jdkX-build-image.yaml
index a2bc8e3c..a423ff25 100644
--- a/jdkX-build-image.yaml
+++ b/jdkX-build-image.yaml
@@ -75,9 +75,13 @@
rm -rf jdk* primordial-jdk* build*
+ # Download, setup boot JDK for building.
wget --progress=dot -e dotbytes=2M ${JDK_URL}
tar -Jxf jdk*.tar.xz
+ # Bash 4.4 doesn't support cd with >1 parameter.
+ rm jdk*.tar.gz
+
cd ${WORKSPACE}/jdk*
export JAVA_HOME=${PWD}