aboutsummaryrefslogtreecommitdiff
path: root/jdk7u-build-image-amd64.yaml
diff options
context:
space:
mode:
authorDaniel Díaz <daniel.diaz@linaro.org>2016-08-02 11:31:06 -0500
committerDaniel Diaz <daniel.diaz@linaro.org>2016-08-08 17:32:13 +0000
commitba5676c0a8884172166b4b41d4d3f39369f3c417 (patch)
treeeefad4b77b29776c88102a3966d2010dda15ba71 /jdk7u-build-image-amd64.yaml
parent8facf20319fbf5353037e4fe59f2b9c0d8be1388 (diff)
jdk7: Build OpenJDK 7 for AMD64 as well.
The existing setup relies on an initial ARM64 JDK which is then used in subsequent jobs. With this new set of jobs, the same is achieved for AMD64 using the very same source code. Change-Id: I6e74a44b7906ed6634f2e3b916af64e5d2a330a2 Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Diffstat (limited to 'jdk7u-build-image-amd64.yaml')
-rw-r--r--jdk7u-build-image-amd64.yaml69
1 files changed, 69 insertions, 0 deletions
diff --git a/jdk7u-build-image-amd64.yaml b/jdk7u-build-image-amd64.yaml
new file mode 100644
index 0000000000..d8c1df240d
--- /dev/null
+++ b/jdk7u-build-image-amd64.yaml
@@ -0,0 +1,69 @@
+- job:
+ name: jdk7u-build-image-amd64
+ project-type: matrix
+ defaults: global
+ description: |
+ * Builds the jdk7 images.
+ logrotate:
+ numToKeep: 10
+ artifactNumToKeep: 1
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ linaro:
+ - job-build
+ - job-cancel
+ disabled: false
+ node: docker-utopic-amd64
+ display-name: 'OpenJDK - Build OpenJDK 7 images'
+ axes:
+ - axis:
+ type: user-defined
+ name: JVM_VARIANT
+ values:
+ - client
+ - axis:
+ type: user-defined
+ name: BUILD_TYPE
+ values:
+ - release
+ execution-strategy:
+ sequential: true
+ wrappers:
+ - timestamps
+ - matrix-tie-parent:
+ node: docker-utopic-amd64
+ builders:
+ - copyartifact:
+ project: jdk7u-update-src-tree
+ filter: 'out/jdk7u.tar.gz'
+ target: incoming
+ flatten: true
+ - copyartifact:
+ project: archive-primordial-jdk7-amd64
+ filter: 'out/primordial-jdk7.tar.gz'
+ target: incoming
+ flatten: true
+ - shell: |
+ #!/bin/bash
+
+ set -exu
+
+ rm -rf jdk7u primordial-jdk7
+ tar xf incoming/jdk7u.tar.gz
+ tar xf incoming/primordial-jdk7.tar.gz
+ pushd jdk7u
+ export LANG=C
+ make ALT_BOOTDIR=${WORKSPACE}/primordial-jdk7 BUILD_NUMBER=b${BUILD_NUMBER}
+ popd
+
+ # Archive the result
+ rm -rf out
+ mkdir out
+ artifact_name=jdk7u-${JVM_VARIANT}-${BUILD_TYPE}
+ tar -C jdk7u/build/linux-amd64/j2sdk-image --exclude=\*.diz --transform="s#^#${artifact_name}/#" -acf out/${artifact_name}.tar.gz jre bin lib
+ publishers:
+ - archive:
+ artifacts: 'out/*.tar.gz'